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.
Kindly see my visual. My row subtotal is wrong.
one measure I used.
also note that Total Actual orders distinct count 148894 it is not distributing accross frozen, gocery and pershables.
Solved! Go to Solution.
Hi @adnankabina ,
your subtotal is not wrong!
If you use a measure with the function DISTINCTCOUNT the subtotal is never the sum of the single values,
For example if you have a simple fact table like this
the distinctcount is 2 for any single category, but it is 2 even if you consider the whole table (not filtered for category)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @adnankabina ,
your subtotal is not wrong!
If you use a measure with the function DISTINCTCOUNT the subtotal is never the sum of the single values,
For example if you have a simple fact table like this
the distinctcount is 2 for any single category, but it is 2 even if you consider the whole table (not filtered for category)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
58 | |
56 | |
53 | |
49 | |
32 |
User | Count |
---|---|
172 | |
89 | |
70 | |
46 | |
45 |