Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone! I've been stuck with this, hope you can help me. Thanks! The Total Sum should be 475.
Solved! Go to Solution.
Hi @Anonymous ,
We suggest you to delete your shared report link in your reply if it contain any confidential information, We can also use the following measure to meet your requirement:
B2B OUTLET BUYING =
SUMX (
DISTINCT ( 'SUB TYPES'[Tag] ),
CALCULATE (
DISTINCTCOUNT ( [Outlet Name] ),
'TOTAL SALES DATA'[Billing Type] = "ZRSS"
)
)
Best regards,
DISTINCTCOUNT() counts the unique values. In your total, it counts the unique values in [Outlet Name] in the current filter context which is [Billing Type]="ZRSS" and two or more tags may be sharing the same Outlet Name and that Outlet Name is counted as one only in the total.
Hi @Anonymous ,
You may try @Anonymous 's formula. SUMMARIZE() creates a virtual table of count of unique outlet name for each tag within the measure itself and SUMX sums up the count. Or you may create a calculated column that concatenates tag and outlet name columns and use that in your distinctcount measure instead.
Can you also share your data model? What is [Outlet Name]? By convention, it should be a measure but I am not sure it is.
Thanks!
DAwn
Here,
Hi @Anonymous ,
We suggest you to delete your shared report link in your reply if it contain any confidential information, We can also use the following measure to meet your requirement:
B2B OUTLET BUYING =
SUMX (
DISTINCT ( 'SUB TYPES'[Tag] ),
CALCULATE (
DISTINCTCOUNT ( [Outlet Name] ),
'TOTAL SALES DATA'[Billing Type] = "ZRSS"
)
)
Best regards,
Hi @v-lid-msft ,
Noted on the deletion of link.
And thank you! The formula works. Thank you very much
Rey
Hi, I'm sorry, I'm very new at Power Bi.
Can I send the link of my dashboard instead?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |