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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors