This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello,
seeking your advice on this scenario.
Iiss there any other ways to combine them jus to get accurate results?
for context:
I have a question table, answer table, and vote table following their IDs (24, 26, 27, 28, 29, 30, 31 & 32) that can be found on the "Question" column
the 24, 26, 27, 28 and 29 - answers should be in between of 1-5 stars, 30 & 32 should be Yes/No, and 31 is for feedback/comment (please see screenshot below)
Answer Table:
Vote table:
and the desired result should be like this when using table visual
Hi @Anonymous
You can create a measure directly, you can refer to the following solution.
Based the picture you have offered for the answer table, we assume that you have the related userid.
Thhe following is the sample data
Question.
Answer
Vote
Useid table
The relationship among the tables.
Then create a measure.
Measure =
VAR a =
MAXX (
FILTER (
ALLSELECTED ( 'Answer' ),
[id] = MAX ( 'Userid'[id] )
&& [quation_id] = MAX ( 'Question'[id] )
),
[answer]
)
VAR b =
MAXX (
FILTER (
ALLSELECTED ( 'Vote' ),
[id] = MAX ( 'Userid'[id] )
&& [question_id] = MAX ( 'Question'[id] )
),
[vote_value]
)
RETURN
SWITCH ( TRUE (), a <> BLANK (), a, b <> BLANK (), b )
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |