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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I want to show the number of accounts that use our different applications:
This is how our data model is set up:
Which measure should I use to have the number of these accounts and not the sum of volumes in the facttable?
thanks for your help!
Solved! Go to Solution.
Hi @pbi-bene ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Create the new measure to sum Volumes.
Measure = SUM('FactTable'[Volumes])
3.Create the new measure to count account per application.
count account per application =
if(
ISINSCOPE('FactTable'[Account]),
SUM('FactTable'[Volumes]),
CALCULATE(
DISTINCTCOUNT(FactTable[Account]),
filter(ALLSELECTED('FactTable'),'FactTable'[Application] = SELECTEDVALUE('FactTable'[Application]) && [Measure] > 0)
)
)
4.Drag the count account measure into the matrix visual Values. Edit the Row subtotals.
5.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @pbi-bene ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Create the new measure to sum Volumes.
Measure = SUM('FactTable'[Volumes])
3.Create the new measure to count account per application.
count account per application =
if(
ISINSCOPE('FactTable'[Account]),
SUM('FactTable'[Volumes]),
CALCULATE(
DISTINCTCOUNT(FactTable[Account]),
filter(ALLSELECTED('FactTable'),'FactTable'[Application] = SELECTEDVALUE('FactTable'[Application]) && [Measure] > 0)
)
)
4.Drag the count account measure into the matrix visual Values. Edit the Row subtotals.
5.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @pbi-bene
Can you share sample data for both the table reason being how the data structure in place is important?
Regards
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 24 | |
| 18 | |
| 16 | |
| 15 | |
| 9 |