Attributes referencing in MDX queries
Posted: Mon May 26, 2025 12:03 pm
Hi All
Is there a way to display an attribute from MDX query.
In the below highlighted second part of the Period query, I need to display an attribute Quarter instead of displaying Mar, Jun, Sep, Dec (element ID) but want to keep element IDs as is in the first Period query
{
{STRTOSET( "{[YEAR].[YEAR].[2024].NEXTMEMBER}")}
*
{[PERIOD].[PERIOD].[Total Year],[Period].[Period].[Jan],[Period].[Period].[Feb],[Period].[Period].[Mar],[Period].[Period].[Apr]} ,
{STRTOSET( "{[YEAR].[YEAR].[2024].NEXTMEMBER.NEXTMEMBER}")}
*
{[Period].[Period].[Mar],[Period].[Period].[Jun],[Period].[Period].[Sep],[Period].[Period].[Dec]}
}
Is there a way to display an attribute from MDX query.
In the below highlighted second part of the Period query, I need to display an attribute Quarter instead of displaying Mar, Jun, Sep, Dec (element ID) but want to keep element IDs as is in the first Period query
{
{STRTOSET( "{[YEAR].[YEAR].[2024].NEXTMEMBER}")}
*
{[PERIOD].[PERIOD].[Total Year],[Period].[Period].[Jan],[Period].[Period].[Feb],[Period].[Period].[Mar],[Period].[Period].[Apr]} ,
{STRTOSET( "{[YEAR].[YEAR].[2024].NEXTMEMBER.NEXTMEMBER}")}
*
{[Period].[Period].[Mar],[Period].[Period].[Jun],[Period].[Period].[Sep],[Period].[Period].[Dec]}
}