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
GLIDO
Helper I
Helper I

How to show trends as a percent of row total on chart with two category axes.

Hello Users, 

 

Stuck with some serious stuff, 

Actually I have the following data in the form of a matrix ,MATRIX_SNAP.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

As we can see, the data shows the trends of a dimension "DPD Bucket Dtls" by different months. The values in this matrix have been set as row totals. 

Now I am required to make a line chart of them, where both "Months" and "DPD Bucket Dtls" will be on category axis and percentage on the value axis. 

While trying to get it done , I ended up like this, Wrong Chart.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

Which is showing  a.)Grand total percentage instead of row total and b.) the category axis looks ugly. 

 

Can anyone help me with the issues.

Quite Urgent, 

Thanks in Advance 

 

Regards

Nilesh Kumar

 

 

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @GLIDO

After my research, you could do these as below:

a) you could use All Function to add a measure as below instead of show value of Percent of grand total

Measure = CALCULATE(SUM(Table1[Qty]))/CALCULATE(SUM(Table1[Qty]),ALL(Table1[DPD]))

b)you could sort by measure desc as below:

10.JPG

Result:

11.JPG

 

Best Regards,

Lin

 

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

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.