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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
mohassan99
Helper II
Helper II

Total & Part Stacked Column Graph

How do I create a stacked column graph, such that 25 total from one field, n of which are have some characteristic from another field are shown in one column where the top is at 25 not 25+n? Do I have to calculate a, 25 - n, field? If so, where can I get a quick intro/review of calculated fields basics so I understand how that works in the Power BI data view? (Should I move this question to the Dax forum?)

 

I think this requires only 2 columns for illustraction, ID and Over SLA. I want a column with TOTAL ID count and how many of them have OVER SLA = 1.

 

ID Over SLA
12651
18501
19301
19421
18931
21051
21771
22041
22231
23131
23701
23961
24591
24611
24891
25001
25021
25071
25211
25231
25241
25261
25301
25311
25361
25391
25401
25421
25521
25581
25771
25801
25811
25841
25861
25871
25881
25891
25901
25951
25981
26001
26011
26071
26141
26161
26201
26211
26221
26241
26030
26261
26291
26311
26361
26371
26391
26401
26421
26431
26471
26501
26511
26521
26561
26581
26591
26601
26611
26621
26631
26651
26661
26671
26681
26691
26701
26711
26721
26731
26741
26751
26761
26771
26781
26791
26801
26811
26821
26831
26841
26851
26861
26871
26881

 

1 ACCEPTED SOLUTION

You are welcome.  My solution will work in all versions.  I have written 2 measures to solve the question (you can see them in the Fields pane of the image in my previous message).


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Ashish,

 

Thank you, but I have an older version of PowerBI. I can't see how to got these results. If you created a new calculated variable I couldn't see it.  

You are welcome.  My solution will work in all versions.  I have written 2 measures to solve the question (you can see them in the Fields pane of the image in my previous message).


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.