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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply

Hierarchy of calculated measures

Hi everyone,

 

I have a table in my Power BI Desktop with a lot of calculated measures I have created.  Many of them have some kind of relation, so it would be really helpful if there is a possibility to create some Hierarchies in the table that group the related measures. 

Is this posible?

 

Thanks a lot!

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@MariaFlorenciaB

 

What do you mean "have relation between measures"?

 

In Power BI Desktop, it's not possible to create a hierarchy/folder to group measures. You should create hierarchy on dimension members and only measure for corresponding fact data which can be sliced by the hierarchy. For example, you can create a calendar hierarchy like "Year->Quarter->Month->Date" to slice a Sales measure.

 

Regards,

View solution in original post

4 REPLIES 4
nalakanayana
Frequent Visitor

Is this can be achieved on 2023?

PabloMG
Regular Visitor

You can group measures in specific tables.

1.- Create a blank query in the query editor.

2.- Rename it to something that makes sense to you like "Measures for Accounts" or "Average Measures"

3.- Move the measures to the corresponding tables by changing their Home Table in the modeling tab in Power BI Desktop.

 

That doesn't make measures hierarchies, but will let you group them in meaningful tables. Hope it helps.

That will not help you in using the group as some sort of group in the vizualisation, not?

v-sihou-msft
Microsoft Employee
Microsoft Employee

@MariaFlorenciaB

 

What do you mean "have relation between measures"?

 

In Power BI Desktop, it's not possible to create a hierarchy/folder to group measures. You should create hierarchy on dimension members and only measure for corresponding fact data which can be sliced by the hierarchy. For example, you can create a calendar hierarchy like "Year->Quarter->Month->Date" to slice a Sales measure.

 

Regards,

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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