Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need a little help with this one as i have not found an answer that works.
I have two columns.
Column A Column B
Group A Name A
Group A Name B
Group A Name C
Group B Name A
Group B Name D
Group B Name B
Group B Name C
I want to Group Column A and count distinct on Column B Essentially so that it looks like this without actually having to create a new table.
Column A Column B
Group A 3
Group B 4
So I want to be able to show this in a visual where below is true
Total Number of Column A Groups Where Column B is > 100
Hope That makes sense.
Solved! Go to Solution.
I would use calculate column, something like
Count Values = CALCULATE(COUNTA(Table1[Column B]), ALL(Table1[Column B]), Table1[Column A]= EARLIER(Table1[Column A]))
Maybe there is better way to calculate, but idea is to have column which you cna use in visual filter.
Hi @jvanmeter,
Drag column A to the visual and then use this calculated field formula i.e. measure
=DISTINCTCOUNT(Data[ColumnB])
Now apply a criteria on the measure as > 100
Hi @jvanmeter,
Drag column A to the visual and then use this calculated field formula i.e. measure
=DISTINCTCOUNT(Data[ColumnB])
Now apply a criteria on the measure as > 100
I would use calculate column, something like
Count Values = CALCULATE(COUNTA(Table1[Column B]), ALL(Table1[Column B]), Table1[Column A]= EARLIER(Table1[Column A]))
Maybe there is better way to calculate, but idea is to have column which you cna use in visual filter.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |