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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.