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
Hawkeye
Frequent Visitor

Showing results against a reduced percentage?

Hi all, 

 

A tricky one to explain, but I will give it a go 

 

I have two reports that are related, but generated from seperate systems - in the long run I will be merging them into a single form, but currently stretched for time. 

 

As the results are slightly related I wondered if there was a way to restrict the percentages of one result based on the value of the other.

 

For example - standard reports:

1st report

Taken 54%

Given 46%

 

2nd report then limited to 46% as it's linked to what was Given

 

So, figures like:

Item 1 - 50%

Item 2 - 25%

Item 3 - 25%

 

Become

Item 1 - 23%

Item 2 - 11.5%

Item 3 - 11.5%

 

I'd be happy to manually enter the percentage from the first report, but need a way of limiting the overall percentage on the 2nd.

 

(hope that makes sense)

 

Many thanks!

3 REPLIES 3
Hawkeye
Frequent Visitor

This turned out to be more of a math problem than a PowerBi one. 

 

Essentially I needed to divide the number against the Item by the total of all the items added together, and then divide this by the percentage figure I wanted to limit the results too.

 

So to use my previous figures; e.g.

Taken 54%

Given 46%

 

2nd report then limited to 46% as it's linked to what was Given

 

So, figures like:

Item 1 - 100

Item 2 - 50

Item 3 - 50

 

Become

Item 1 - 23%

Item 2 - 11.5%

Item 3 - 11.5%

 

 

(sum being along the lines of 100/200*46)

 

Clearly I was having a bad day, just need to figure out how to work this in PowerBi! 

v-jiascu-msft
Employee
Employee

Hi @Hawkeye,

 

Can you share the file or a dummy sample?

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jthomson
Solution Sage
Solution Sage

Not entirely clear how your percentages are calculated, but you could try making a new measure that pulls in the value you need from the first report as a variable, and then multiply that by your second measure?

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.