The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi I hope someone could have better solution to this:)
option 1....20 in the columns, here is the DAX I used to get a description text combination based on the options
If option1>xx, "option 1", ""
& If option 2>yy, "option 2", ""
& If option 3>zz, "option 3", ""
.......
Eventually, I hope to have text like "option 2 option3 option4....."
The problem is "", which is used to generate space between text, however, in cases where option 1 and option 2 for example are not chosen, the text would be " option 3 option 4". It leaves spaces for those options that are false. what should I include in false condition to make it disappear? How can I modify the DAX when in false condition, it ignores the option without adding space and continues with the next if text output? Thank in advance.
Solved! Go to Solution.
What's the format of your data and are you wanting a measure or column?
You can try using concatenatex and filter:
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
What's the format of your data and are you wanting a measure or column?
You can try using concatenatex and filter:
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Super, sorry for the late reply, but this is really helpful. I could use it in my report. You are the real expert! Thank you very much