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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
dadata
Regular Visitor

Problem with different plan figures

Hello together,

can you help me with a problem? I have planned figures in one table and in another table I have the distribution of the planned figures over the year in percent. The special feature is that I have different plan numbers for group "B" and for group "G". In a matrix, I use a measure to calculate the target figures per month. This works as far as it goes, but the correct result is not added up for the total. I put some screenshots in, which describe the problem a little more exactly:

 

dadata_0-1627894013089.png

 

This is how the DAX looks like:

 

dadata_1-1627894137618.png

Do you have experience with this kind of calculation? Unfortunately I don't know the way to display the actual sum.

I appreciate your help.

 

Kind regards
dadata

 

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi  @dadata ,

 

Has discussed in our message please create a new measure with the following code:

Proportion Total= SUMX(VALUES(category[category]), [proportion])

This should pick up the values for eaxch of the category and sum them all on the total in order to get the correct value has needed.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português





View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi  @dadata ,

 

Has discussed in our message please create a new measure with the following code:

Proportion Total= SUMX(VALUES(category[category]), [proportion])

This should pick up the values for eaxch of the category and sum them all on the total in order to get the correct value has needed.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português





MFelix
Super User
Super User

Hi @dadata ,

 

This type of calculation needs to be done with a SUMX fuction and this is based on the the tables you have.

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.