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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
george_o0802
Regular Visitor

Help with Data visualization, pretty please

I would like to convert the attached chart to a %. I cannot use the simple % of Grand total function as it gives me each bar as a % of the grand total such that the entire data set adds up to 100%. What I need is the latest data to add up to 100% and the previous data to add up to 100%. E.g., the latest medium data should be around 25.4% and the previous medium should be around 27.8%.

george_o0802_0-1693923994219.png

 

2 REPLIES 2
HarishKM
Memorable Member
Memorable Member

@george_o0802  Hello,
Can you more detail about your requirement?

Or  you can try similer formula below.

Total sales % =
Var _sales = SUM(financials[Gross Sales])
Var _totalsales = CALCULATE(SUM(financials[Gross Sales]),ALL(financials))

Return
DIVIDE(_sales,_totalsales)

HarishKM_0-1693925831772.png


Thanks
Harish M

In short,
I want to present this data as a %. This is a product and this is affluence data for customers of said product in the latest time period and previous time period. I have been given the data as a raw customer number but I would like to convert this to a %. I want this chart to show what % of each period customers were in each affluence demographic group. For example, the latest period has 134k customers and 20k of those were very low affluence. I want this to be shown as a % (14.93%). For the previous period, there were 115k customers 17k of which were very low affluence and I would like this as a % of the previous period (14.78%). Thereby showing any changes in prevalence of affluence demographics.

Does this help at all?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.