Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello everyone,
I hope you're doing well!
I'm looking for guidance on how to create a matrix in Power BI that counts responses for different questions. I tested it with two questions that had the same dropdown options, but I'm also interested in creating a separate matrix to summarize responses to "rate your experience" questions.
Currently, when I create the matrix, I'm seeing the same total for both questions. I've tried setting up a bridge table (as shown in the image below) and established a one-to-many relationship, but I'm still encountering issues.
Any help or insights would be greatly appreciated!
Thank you!
Bridge table:
Relationship:
Solved! Go to Solution.
In Line 2, you need to close the paranthesis of COUNT (). I have bolded the paranthesis below.
CALCULATE(
COUNT (24Registration[How did you exp]),
USERELATIONSHIP(BridgeTable[IncorrectResponse], 24Registration[How did you exp])
)
Thank you. I suspect something might be wrong with how I set up the bridge table because it keeps pulling through the first measure results...
Hi @ReneeKoelewyn
Create two one to many relationships between the main table and the bridge table. One will be an active and other will be an inactive relationship. Plot the column from Bridge table in the matrix just like you did and the below measures.
Create two measures:
M1 = COUNT (24Registration[Rateyourexp])
M2 =
CALCULATE(
COUNT (24Registration[How did you exp]),
USERELATIONSHIP(BridgeTable[IncorrectResponse], 24Registration[How did you exp])
)
Make sure that in USERELATIONSHIP, you use the columns on which the relationship is inactive.
Please accept this as a solution if you find it helpful.
In Line 2, you need to close the paranthesis of COUNT (). I have bolded the paranthesis below.
CALCULATE(
COUNT (24Registration[How did you exp]),
USERELATIONSHIP(BridgeTable[IncorrectResponse], 24Registration[How did you exp])
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
85 | |
66 | |
52 | |
48 |
User | Count |
---|---|
215 | |
90 | |
83 | |
67 | |
59 |