Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear friends, how are you?
I have the following dynamic title, and I configured it in such a way that if I have in the "Channel" field the options "Retail" and "Institutions" are selected, the result gives me "Retail + Institutions", the same for the "Country" field, if I have "National" and "International" selected, I get "National+International".
As the GDP gives you the option that if no option in the field is selected, it assumes that all of them were selected, therefore, the same exercise as the previous one, no "Channel" selected, no "Retail+Institutions" or no "Country" selected, the result is "National+International".
The problem is that the title, when I have multiple options selected, throws me empty.
Hi @MatiasBI1986,
I guess the problem of your formula hides in the following fact:
SELECTEDVALUE ( <multiple values selected> ) = (BLANK)
There is an easy way to return the value you need if the choice is limited just to "Retail" and "Institutions" (or "National" and "International" ) by using the variable Part2 below, and the hard way, if you have more than just those values (see the variable Part3 below).
I've also attached the file so you can copy-paste some code if needed.
Best Regards,
Alexander
Problem solved:
This is the DAX
User | Count |
---|---|
77 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
93 | |
50 | |
49 | |
46 |