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 September 15. Request your voucher.
I am looking to create a Matrix table that has the following structure, but am unsure as to the easiest path to transform my data to support the structure. The data structure I have is below along with the matrix structure I would like. I could have a job run that summarizes the data like the matrix I want, but was wondering if I can do it directly in Power BI.
DATA STRUCTURE
MATRIX I WOULD LIKE
Any high level guidance would be appreciated.
Solved! Go to Solution.
Hi @justinharter,
Create the following measures:
Total Incidentes = CALCULATE(COUNT(Incident[Incident])) Total Incidentes (Minus Event Category) = CALCULATE(COUNT(Incident[Incident]),Incident[Category] = "Incident") % Incidents = DIVIDE([Total Incidentes (Minus Event Category)],[Total Incidentes])
Then add it to the matrix visual and should get what you need:
regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @justinharter,
Create the following measures:
Total Incidentes = CALCULATE(COUNT(Incident[Incident])) Total Incidentes (Minus Event Category) = CALCULATE(COUNT(Incident[Incident]),Incident[Category] = "Incident") % Incidents = DIVIDE([Total Incidentes (Minus Event Category)],[Total Incidentes])
Then add it to the matrix visual and should get what you need:
regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks for the reply @MFelix. When creating the measures and putting them in the matrix as you have them, I do not get the same result for the Matrix. Is there something else I need to change?
I've figured it out @MFelix. I see you simply need to turn on row groups in the properties of the matrix.
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
181 | |
82 | |
63 | |
47 | |
43 |