March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I created a custom table that have 4 different Names. Then I will add a column with a Measure from different tables but with conditional if statement. See target condition below.
Column1
If TextA = TableQueryA_Measure1,
If TextB = TableQueryB_Measure1 .
Column2
If TextA = TableQueryA_Measure2,
If TextB = TableQueryB_Measure2.
Tried using below formula but still having some errors using CUSTOM COLUMN. Thanks in advance
Column1= If ([TextColumn0] = "Text1", TableQueryA_Measure1, TableQueryB_Measure1)
Solved! Go to Solution.
This is now ok. I used a SWITCH code instead of IF statement. Worked like a charm.
This is now ok. I used a SWITCH code instead of IF statement. Worked like a charm.
It looks like you are trying to use measures (created for visuals in powerbi report view) in Power Query. That's definitely not possible.
Maybe if you give more details about what you are trying to achieve I can offer some advice.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
20 | |
16 | |
13 | |
10 | |
9 |
User | Count |
---|---|
34 | |
31 | |
20 | |
19 | |
17 |