The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Here is the data:
let Source = #table({"Status"},List.Zip({{"ON","OFF","UNKNOWN","ON","ON","OFF"}})), #"Added Index" = Table.AddIndexColumn(Source, "Index", 0, 1, Int64.Type) in #"Added Index"
I need a measure which returns the number of occurrences of the most frequently occurring value in the "Status" column. So in this example, "ON" appears the most, and it occurs 3 times.
I have a measure which correctly identified the most frequently occurring value:
Measure 2 = CALCULATE(COUNT(Query1[Status]), FILTER(Query1, Query1[Status] = [most repeated status]))
but none of the above are correct.
Solved! Go to Solution.
found the solution:
found the solution: