Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I create new table where I defined names my filter (there is no relationship between dataset)
Then I create measere
Measure works but once I chosee multiple value from filter it doest work. Can you please help how to change my code for multiple options?
Solved! Go to Solution.
@Anonymous , I think you need to provide more information. what I can think now is
if("Online" IN ALLSELECTED(Channel_name[Channel]),Indicators[t_online],0) +
if("Dealer Shops" IN ALLSELECTED(Channel_name[Channel]), Indicators[t_dealer_shops],0) +
if("Own Shops" IN ALLSELECTED(Channel_name[Channel]), Indicators[t_own_shops],0) +
if("Biznis" IN ALLSELECTED(Channel_name[Channel]), Indicators[t_bz],0) +
if("TAM" IN ALLSELECTED(Channel_name[Channel]), Indicators[t_tam],0)
@Anonymous , I check this one and it working.
Measure = Switch(true(), "ABC" in ALLSELECTED('Table'[Column1]) , "A",
"DEF" in ALLSELECTED('Table'[Column1]) , "B",
"C")
but in case you expect two values, then you need a different way
Multiple if and append by &
For example
I choose
"Online" and get TRN 127
"Dealer Shops" and get TRN 702
I need to have for example:
"Online" & "Dealer Shops" and get 829
Do you have idea how to do it?
@Anonymous , I think you need to provide more information. what I can think now is
if("Online" IN ALLSELECTED(Channel_name[Channel]),Indicators[t_online],0) +
if("Dealer Shops" IN ALLSELECTED(Channel_name[Channel]), Indicators[t_dealer_shops],0) +
if("Own Shops" IN ALLSELECTED(Channel_name[Channel]), Indicators[t_own_shops],0) +
if("Biznis" IN ALLSELECTED(Channel_name[Channel]), Indicators[t_bz],0) +
if("TAM" IN ALLSELECTED(Channel_name[Channel]), Indicators[t_tam],0)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |