Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet 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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |