Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I am trying to create a measure to do the following. When selecting a name in the slicer, I would like for the card to display the Rating for the competency that I filter for that card.
Example: If I select Sue one card will display the rating for the competency for relationships, the next card will display the rating for communication, and so on.
My data is built in two tables. One is the survey data and the other is a score table to create the ratings based on scores.
I have linked an example file here. Please let me know if this makes sense.
Solved! Go to Solution.
You've just changed the paradigm. With so many questions, the nested IF will not be a good approach. It will be better to create a 2 column table and and fetch data from that table into your table with the RELATED() or LOOKUPVALUE() function.
Hi,
This is a cleaner model to work with. Please study this carefully and let me know how this works. I have not worked on the colouring so far.
Hi Ashish,
If you look at the newer file I uploaded you can see that I was able to get the coloring working based on the competency. If I drop that into a table it all works. I am now trying to use the Card visual to display competency and rating based on the Name selected.
If I select Sue I want one Card to display the rating for the relationship, another card to display the rating for communication. Does that make sense? When I try to pull the rating to the card it is just giving me first rating.
With Bob and Communication selected, my file shows the correct answer.
I opened the old file from my downloads folder. Let me study this one. Thank you and I will let you know if I have questions.
Hi Ashish,
I reviewed this over the weekend and tried to follow as best I could with my limited knowledge. I tried to recreate this in my own dataset but it seems to not pull the info like yours did. I get (blank) on some of my criteria and then everything is not showing in the status list.
For reference this is what my ratings code looks like
You've just changed the paradigm. With so many questions, the nested IF will not be a good approach. It will be better to create a 2 column table and and fetch data from that table into your table with the RELATED() or LOOKUPVALUE() function.
Hi Ashish,
I appreciate your responses. I didn't understand what you were saying at first but after reading a few articles on lookupvalue, I have it working. I was also able to use that to color the cells as I needed. I am in the process of testing the data to be sure, but it looks like that is the solution.
I appreciate the help! I may reply here with some additional questions when I am looking to analyze the data for a group.