Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
HI ,
I am having issues with using DISTINCTCOUNT /COUNTROWS function for my tabular model. Both of them are giving memory related errors. The Fact Table has 500k records and the AggMeasure is an existing measure.
I need to just find the distinct count of Materials where AggMeasure>0 based on user filtering. Is this possible? Please help
Coverage:=CALCULATE(DISTINCTCOUNT('Material'[ID]),FILTER('Fact',[AggMeasure]>0))
Coverage2:=
COUNTROWS(SUMMARIZE(FILTER('Fact',[AggMeasure]>0),'Material'[ID]
))
Solved! Go to Solution.
@gardas_swathi , Try
COUNTROWS(FILTER(Values('Fact'Material'[ID]'),[AggMeasure]>0)
)
@gardas_swathi , Try
COUNTROWS(FILTER(Values('Fact'Material'[ID]'),[AggMeasure]>0)
)
Thanks Amit. That worked
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
25 | |
20 | |
18 | |
18 | |
17 |
User | Count |
---|---|
36 | |
22 | |
19 | |
18 | |
12 |