The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi there,
I have created the below measures:
ID = DISTINCTCOUNT(ID)
Solved! Go to Solution.
For example
Percentage =
Filtered = CALCULATE(DISTINCTCOUNT('Table'[ID]), 'Table'[Column] = "Yes")
Perc = Divide(Filtered,DISTINCTCOUNT('Table'[ID]))
RETURN IF(Perc>0.05,Perc)
RETURN IF(Percentage>0.05,Percentage)
Thank you - where would this go please? Also it isn't the percentage that is 0.05 it is the fitered results count - Filtered Result = CALCULATE('Table'[ID], FILTER('Table','Table'[Column] = "Yes"))
For example
Percentage =
Filtered = CALCULATE(DISTINCTCOUNT('Table'[ID]), 'Table'[Column] = "Yes")
Perc = Divide(Filtered,DISTINCTCOUNT('Table'[ID]))
RETURN IF(Perc>0.05,Perc)
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |