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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.