The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi everyone,
I am trying to create a calculated dimension for a specific matrix only based on an existing dimension, something like this : =if(wildmatch(TIERS_Cat.3,'*Ouvertures*')=1,'Ouvertures','Organique')
as you can see, first I have the calculated dimension, and then I have the reference dimension (TIERS_Cat.3). and before the calculated dimension, I have another dimension.
How could I do that ?
thank you very much !
You can do it with If/Switch true and containsstring
https://docs.microsoft.com/en-us/dax/containsstring-function-dax
New column =
Switch ( True(),
containsstring([TIERS_Cat.3],"Ouvertures"), "Ouvertures",
"Organique"
)
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
102 | |
82 | |
62 | |
56 |
User | Count |
---|---|
254 | |
119 | |
115 | |
100 | |
76 |