Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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]) )
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 34 | |
| 33 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 65 | |
| 44 | |
| 30 | |
| 28 |