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 have the following DAX:
EVALUATE SUMMARIZECOLUMNS('bv_demisto_incidents'[account], 'bv_demisto_incidents'[Severity], FILTER(VALUES('bv_demisto_incidents'[account]), ('bv_demisto_incidents'[account] = @Company)))
Severy comes in many categories. How can I add counts column for each category into this expression? Currently the result might look like this:
company1 a
company1 b
company1 a
company1 b
I want:
company1 a 2
company1 b 2
Thanks
Solved! Go to Solution.
@Markzolotoy , Try like
EVALUATE SUMMARIZECOLUMNS('bv_demisto_incidents'[account], 'bv_demisto_incidents'[Severity], FILTER(VALUES('bv_demisto_incidents'[account]), ('bv_demisto_incidents'[account] = @Company)) , "_count", count('bv_demisto_incidents'[account]) )
@Markzolotoy , Try like
EVALUATE SUMMARIZECOLUMNS('bv_demisto_incidents'[account], 'bv_demisto_incidents'[Severity], FILTER(VALUES('bv_demisto_incidents'[account]), ('bv_demisto_incidents'[account] = @Company)) , "_count", count('bv_demisto_incidents'[account]) )
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 |
---|---|
114 | |
99 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |