Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don'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.

Reply
ReneeKoelewyn
Frequent Visitor

Help Needed: Creating Separate Response Count Matrices in Power BI

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!



ReneeKoelewyn_0-1730196520177.png

ReneeKoelewyn_1-1730196563818.png

Bridge table:

ReneeKoelewyn_2-1730196586429.png

 Relationship:

ReneeKoelewyn_3-1730196607353.png

 

 

 

1 ACCEPTED SOLUTION

@ReneeKoelewyn 

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])

)

View solution in original post

4 REPLIES 4
ReneeKoelewyn
Frequent Visitor

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...

 

Angith_Nair
Continued Contributor
Continued Contributor

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.

Hi @Angith_Nair ,

 

Thank you. However, I get the following error. Do you know what I am doing wrong?

ReneeKoelewyn_0-1730201608507.png

 

@ReneeKoelewyn 

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])

)

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.