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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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