Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

MDX Calculated member in Dax

Hello All,

 

I am trying to add a calculated member in a dimension.

In Multidimensional model, I do that like this:

 CREATE MEMBER [Material].[Department].[AB] AS
        AGGREGATE({[Material].[Department].&[A], [Material].[Department].&[B]})

Is there a way to do the same in tabular model ?

 

Thank you for your help.

 

 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Could you show an example of original table and output after performing the formula?

 

Best Regards
Maggie

Anonymous
Not applicable

Hello @v-juanli-msft 

I hope you are doing well

For sure,

 

I have for example a table like this: 

Table.png

 

And I want to have in my reporting a table like this:

 

Report.png

I need to create these calculated members ('>=20 y',  'Adults (From 20 to 40 y)' , 'Kids (From 0 To 10 y) '  to the bottom of table that summarize and categorize the ages.

 

 

Thank you for your help. 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.