Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
(CASE WHEN UO.SALDEPTGRP IN 'SSH' THEN 'ASS'
WHEN UO.SALDEPTGRP = 'ENDÜSTRİ-GIDA' THEN 'INDUSTRY-FOOD'
WHEN UO.SALDEPTGRP = 'ÇEVRE-ENERJİ' THEN 'ENVIRONMENT-ENERGY'
WHEN UO.SALDEPTGRP = 'ZEYTİNYAĞI' THEN 'OLIVE OIL' END) AS SALDEPTEGRP,
Why doesn't work it in power bi? I mean I couldn't see INDUSTRY-FOOD, ENVIRONMENT-ENERGY,OLIVE OIL in the columns which SALDEPTEGRP topic.
Solved! Go to Solution.
@AKARSEVGI , Power BI Dax you have to use switch
Switch( True() ,
UO.SALDEPTGRP= "SSH" , "ASS"
,UO.SALDEPTGRP = "ENDÜSTRİ-GIDA" THEN "INDUSTRY-FOOD"
,UO.SALDEPTGRP = "ÇEVRE-ENERJİ" THEN "ENVIRONMENT-ENERGY")
Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56
WHEN UO.SALDEPTGRP = 'ZEYTİNYAĞI' THEN 'OLIVE OIL' END) AS SALDEPTEGRP,
No, I want to fix it in power query? How can I?
@AKARSEVGI , Power BI Dax you have to use switch
Switch( True() ,
UO.SALDEPTGRP= "SSH" , "ASS"
,UO.SALDEPTGRP = "ENDÜSTRİ-GIDA" THEN "INDUSTRY-FOOD"
,UO.SALDEPTGRP = "ÇEVRE-ENERJİ" THEN "ENVIRONMENT-ENERGY")
Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56
WHEN UO.SALDEPTGRP = 'ZEYTİNYAĞI' THEN 'OLIVE OIL' END) AS SALDEPTEGRP,
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 23 |