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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.