Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 6 | |
| 5 | |
| 3 |