Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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 November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.