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.
Hello, I am trying to create a Power BI Matrix from sales data that looks like:
To create a summary, by sales person, by count of their role in a sale:
I'm probably overthinking this, but can't seem to elegantly accomplish this without building side tables which extract each role and person and then merging those tables together. Anyone have ideas on this?
Solved! Go to Solution.
Hi, in Edit Query Select the 3 columns (Except Opp ID) and Transform Unpivot Columns.
You'll obtain something like this:
Change the name of the Columns. Close & Apply
Finally in a Matrix
Hi, in Edit Query Select the 3 columns (Except Opp ID) and Transform Unpivot Columns.
You'll obtain something like this:
Change the name of the Columns. Close & Apply
Finally in a Matrix
You aren't going to get away from building a separate person table. Once you have done that you can probably write measures --
Total Id := DISTINCTCOUNT(MyTable[Identify])
Total Develop := DISTINCTCOUNT(MyTable[Develop])
...
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |