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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Audreys
New Member

Sum in PowerBI

Dear,

I would like to have the total of "premier maximum enrollments" to be able next to see in the graphic the difference between "nombre de current registration status" and "premier maximum enrollments".

Can someone help me on this please? I am a bit blocked as I already tried different things... 😞

 

Audreys_0-1655123590393.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Audreys,

You can create a parameter table with the category type which you wanted, then use it as the axis of the chart and write a measure formula to calculate based on the current category type:

My Favorite DAX Feature: SELECTEDVALUE with SWITCH | Winston-Salem Power BI User Group (pbiusergroup...

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
danextian
Super User
Super User

Hi @Audreys ,

 

Please share a sample data (that we can copy-paste/excel file) and your expected result? 

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/2564882#M9069... 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Dear, 

thanks for your asnwer.

Indeed i have 2 problems:

- i need to have the total of "nombre de current registration status AND total of "premier maximum enrollment". Those datas are coming from a query (it's not a table I created myself as it is dynamic) and I am putting the view as a table to have the details.

Audreys_0-1655126508942.png

- The second problem, is, as soon as I have the total of the 2 collumns, I would need that the principal graph shows me the difference between the number of participants that already registered and the total of the maxium of people that can be registered. See the visual made in PPT

Audreys_1-1655126649564.png

 

Here are an exemple of the table I have :

TitleCurrent registrationMaximum Enrollments
Global boot camp digital24 
MC Bakery regional718
Global bootcamp hands-on 510
MC Chocolate39
MC Patisserie regional hands-on yellow belt29
MC patisserie regional hands-on long shelflife110

 

Anonymous
Not applicable

Hi @Audreys,

You can create a parameter table with the category type which you wanted, then use it as the axis of the chart and write a measure formula to calculate based on the current category type:

My Favorite DAX Feature: SELECTEDVALUE with SWITCH | Winston-Salem Power BI User Group (pbiusergroup...

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors