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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
lauchita
New Member

Agregating Measures

Hello Comunity! 

 

I'm struggling with some measures related problem. Here is the case: 

 

I've calculated royatly as a % of Revenue (which is a measure itselft). I need to use diferent royalty % to perform the calculation, because I need the ability to pick individually this value per entity. So I've created parameters for every entity:

lauchita_0-1695651889230.png

used it to calculate %:

lauchita_2-1695651972059.png

and then I put them on the matrix:

Untitled.png

The problem is that I want to group all entities result into one column, to show a visualization of them and to avoid having just one result per column. 

 

How can I achieve this? 

 

Thank you very much!



 

1 ACCEPTED SOLUTION

Thank you very much @v-tangjie-msft !

 

I finally came to a solution: I make measures for all the entities, and the sum them up in only one measure, and use that last one in the visualization

View solution in original post

4 REPLIES 4
v-tangjie-msft
Community Support
Community Support

Hi @lauchita ,

 

Please try this measure.

Royalty U220=calculate([Revenue] * 'Entity 220'[Entity_220 value],filter(ALL('P&L'),[Company Code]="U220"))

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

 

Thank you very much @v-tangjie-msft !

 

I finally came to a solution: I make measures for all the entities, and the sum them up in only one measure, and use that last one in the visualization

lbendlin
Super User
Super User

You can't measure a measure.  Implement the logic from scratch.

 

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Thank you very much @lbendlin  !

 

I finally came to a solution: I make measures for all the entities, and the sum them up in only one measure, and use that last one in the visualization

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.