I'm kind of new to Power BI, but i've been working hard on a report these days.
My problem is: I have a fix reference table and an answers table (based on a key) shown bellow
What I'm trying to do is get the following table:
'Final I want'
Either on separated rows or in the same cell works for me, but I just can't seem to get it...
I even get a list of missing values, but not related to the key. what I got was:
'Table I got'
Can anyone help?
Go to Solution.
0. Change the name of the Reference[Fixed Answers] column to Reference[Answer]
1. Place Answers[Key] in the a table visual
2. Create this measure and place it on the visual
Missing answer =
VAR answers_ =
DISTINCT ( Answers[Answer] )
VAR refAnswers_ =
ALL ( Reference[Answer] )
VAR missing_ =
EXCEPT ( refAnswers_, answers_ )
CONCATENATEX ( missing_, [Answer], ", " )
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
View solution in original post
Hi @Quartarolo - Sorry your question is not clear to me.
Can you please explain what's the logic applied for 'Final I want' ?
All i understand is There is a reference table with values A to E
'Answers' table? What does this mean? How A and C has the same key value 1? And A and D has 2
Totally confusing to me
Please be more elaborative.
Sorry, it's my first post! I'll elaborate more:
the 'Answers' table is from a form filled by my costumer. In there, they choose a location (the 'key" column), and choose a safety item that was installed (those are the answers).
The thing is that not all items are installed at the same time, so there is more than one row for each location.
I'll rewritte the tables:
Answer (Safety Item installed)
So what i want to know is "which items haven't been installed on each location"
If it's still confusing, just let me know, and thanks for the help!
Check out the on demand sessions that are available now!
Check out the Winners!
Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.