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

Percentage for Rows

Hey Everyone,

 

i want to Display the Percentage in relation to the upper two Rows. 

 

The first two Rows should show "100%"

Power BI Forum.png

The following 4 Rows should show the proportion to the 100%

 

In the last Row should be the "+" or "-" Percentage which is left of the upper 100%

 

can someone help me? 

 

 

1 ACCEPTED SOLUTION
v-xuding-msft
Community Support
Community Support

Hi @SanderAzubi ,

I created a sample to implement it. You could try the following steps.

1.Create a index column in Query Editor

1.PNG

2. Create a measure and then set it to percent 

Measure = IF(MAX('Table'[Index])<=2, 1,DIVIDE(SUM('Table'[Value]),CALCULATE(SUM('Table'[Value]),ALLSELECTED('Table'))))

3.PNG2.PNG

For the last row, it is the total row. We can't show "+\-". It is show the first row value in my sample. And  I attached it that you can download.

 

Best Regards,

Xue Ding

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

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

View solution in original post

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @SanderAzubi ,

I created a sample to implement it. You could try the following steps.

1.Create a index column in Query Editor

1.PNG

2. Create a measure and then set it to percent 

Measure = IF(MAX('Table'[Index])<=2, 1,DIVIDE(SUM('Table'[Value]),CALCULATE(SUM('Table'[Value]),ALLSELECTED('Table'))))

3.PNG2.PNG

For the last row, it is the total row. We can't show "+\-". It is show the first row value in my sample. And  I attached it that you can download.

 

Best Regards,

Xue Ding

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

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

Thank you, it would have helped if i explained it better. I got more Data than those 6 Rows. I just Drill through them. If i´ve had those 6 Rows it would have worked. I still did it on my own. Thank you 

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.

Top Solution Authors