Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I am trying to get the corrct target sales for each sales manager. The target tablw is the one side and the sales table is the fact table.
The numbers in red are incorrect. How do I upload an Excel file to this post?
TY!
Solved! Go to Solution.
Hi @shaykoooo,
Here I made one sample to reproduce your issue. Here we can use SUMX to fix the total value. f it doesn't make sense, kindly post your sample data and your formulas here.
Measure = SUM(Table1[Column1])/SUM(Table1[Column2])
Measure 2 = SUMX('Table1',[Measure])
For more details, please check the pbix as attached. I
https://www.dropbox.com/s/azlz14rfpwq8jw9/Correct%20Sub-Total%20and%20Total.pbix?dl=0
Regards,
Frank
People usually use the "Attachments" field to upload attachments or post a cloud drive link (One Drive). Or images. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
But, I am thinking that perhaps your issue is: This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
I don't see the attachment icom, unforunately, your article didn't help me. I wish there was a way to upload the file.
Thanks again!
Hmm, you may not get that if you haven't confirmed your email address. People often upload their file to something like One Drive or Box, etc. and then create a share link that anyone can access and then just post that URL.
I found a sort of a workaround by adding a helper column in the database.
Hi @shaykoooo,
Here I made one sample to reproduce your issue. Here we can use SUMX to fix the total value. f it doesn't make sense, kindly post your sample data and your formulas here.
Measure = SUM(Table1[Column1])/SUM(Table1[Column2])
Measure 2 = SUMX('Table1',[Measure])
For more details, please check the pbix as attached. I
https://www.dropbox.com/s/azlz14rfpwq8jw9/Correct%20Sub-Total%20and%20Total.pbix?dl=0
Regards,
Frank
Hi @shaykoooo,
Does that make sense? If so, kindly mark my answer as a solution to close the case.
Regards,
Frank
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |