Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
My dataset involves many materials that are all in some company. For example, there are 10 different meterials (product codes) within one company, and several companies. When I drill down on a company, then drill down on a specific material for more information about that material, I want a little visualization to show me which material I have selected.
I've tried to use the formula:
(So that when only one material is selected, I get the material field)
I put the "Material" field into a Card visual and set the field to "First". When I drill down to the Material that I want to analyze, it works- I get the card to give me the material code selected. However, if I am at the company level and have not yet selected anything I see the first alphabetical material code in that company. I would like this card visual to show me a blank if no specific material is selected.
Is there a way to do this?
Solved! Go to Solution.
Hi @Anonymous
Create a measure instead of a column (Modeling->new measure)
Measure = SELECTEDVALUE(Sheet3[material])
Best Regards
Maggie
Hi @Anonymous
Create a measure instead of a column (Modeling->new measure)
Measure = SELECTEDVALUE(Sheet3[material])
Best Regards
Maggie
you can use SELECTEDVALUE
SELECTEDVALUE(Table[Material], BLANK())
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
61 | |
55 | |
54 | |
36 | |
34 |
User | Count |
---|---|
84 | |
74 | |
55 | |
45 | |
43 |