Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi Experts,
My formula below is not working as soon as I select 2 or more values from Segment[Sub-Group] in a slicer
Please suggest, thanks
Solved! Go to Solution.
Hey @GulianiG SelectedValue only returns a value when there's a single value in the selected column. Here's an article on it: https://dax.guide/selectedvalue/
Depending on what you're doing, you may just need to flip how you do the evaluation
Instead of the SelectedValue line you could do OR("Male" IN Segment[Sub-Group],"Female" IN Segment[Sub-Group]),
But that may depend on what you're trying to accomplish.
Hey @GulianiG SelectedValue only returns a value when there's a single value in the selected column. Here's an article on it: https://dax.guide/selectedvalue/
Depending on what you're doing, you may just need to flip how you do the evaluation
Instead of the SelectedValue line you could do OR("Male" IN Segment[Sub-Group],"Female" IN Segment[Sub-Group]),
But that may depend on what you're trying to accomplish.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
102 | |
70 | |
68 | |
54 | |
41 |
User | Count |
---|---|
156 | |
83 | |
66 | |
64 | |
61 |