The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
In the measure 'AR total avg', I use 2 variables, 'ar_source' and 'agent_validate'
At lowest level of the hierarchy, variable 'ar_source' shows total leads of each source.
On the next level of the hierarchy, variable 'agent_validate' shows the sum of total leads of all sources.
However, variable 'agent_validate' shows 54893 leads which is incorrect, the correct number is 96512 (sum of total leads of all sources calculated by variable 'ar_source')
Please help me with this case :(.
Solved! Go to Solution.
You should never perform any calculations in SUMMARIZE in measures. SUMMARIZE is such a complex function (in terms of behaviour) that Alberto Ferrari and Marco Russo strongly advise against performing calculations within it (they themselves never do it). Please, instead use the combination ADDCOLUMNS/SUMMARIZE. SUMMARIZE must only be used for grouping, nothing else, if you want to stay sane.
Hi mate,
Thanks for your advice, do you have any idea how I can apply ADDCOLUMNS with this case?
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
7 |
User | Count |
---|---|
21 | |
20 | |
12 | |
11 | |
7 |