This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi there,
I am getting my data set via a API URL and need to change some default value codes (e.g. 0=Active, 1=Resolved, 3=Cancelled etc.)
I can think of 3 ways to do this:
1: Replace the values in column via Transform/Replace Values
2: Create a group
3: Add a condotional column
What is the best way?
Thanks!
Gitte-Lena
Solved! Go to Solution.
For 3 values, a conditional column (basically nested IFs) will work great.
If it is more than that, you might want to create a reference table then merge that with your imported table, sort of like getting the item description from an Item DIM table to add the description to your FACT table where only the item number exists. You can do that hundreds/thousands/more rows were a conditional column would be impractical.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingFor 3 values, a conditional column (basically nested IFs) will work great.
If it is more than that, you might want to create a reference table then merge that with your imported table, sort of like getting the item description from an Item DIM table to add the description to your FACT table where only the item number exists. You can do that hundreds/thousands/more rows were a conditional column would be impractical.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCheck out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 23 | |
| 23 |