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
amazinfarah
New Member

percentage of total based on category with date range

Hi Guys,
i have report where i am showing line chart. i want to show as total of percentage as you can see i am showing as count of id on date and and based on category
let suppose any data point show as below
count of order id          segment             order date     
10                                  furniture            30/01/2019     
20                                 office supplies    30/01/2019      
70                                 technology         30/01/2019      
what i want in line chart show as total percentage like below
count of order id          segment             order date        percentage
10                                  furniture            30/01/2019      10%
20                                 office supplies    30/01/2019      20%
70                                 technology         30/01/2019       70%
like total count of day is 100 and 100% percentage is splitted by category (legend) how can i do that? date slicer in place too so range user can change
1 REPLY 1
amitchandak
Super User
Super User

@amazinfarah , Drag the count measure again, right click on the meausre in visual pane and use option show as Percent of total

Percent of total.png

 

of create meausres like

 

divide([count of order id], calculate([count of order id], all(Table)))

 

or

 

divide([count of order id], calculate([count of order id], allselected(Table)))

 

refer: https://www.youtube.com/watch?v=6jTildcV2ho

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.