Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
In a table that has Countries and Regions I want to convert the Region to text "ALL" but not for 5 countries.
This is, I want to keep the region only for Australia, Canada, China, India, and USA, any other Country I want to replace the region the account may have to ALL.
I know how to do it in Excel, but I need it in PowerBI for a dinamic report.
Where can I find the steps on how to create this column?
Regards,
Solved! Go to Solution.
Hi BookBok,
You can create a new calculated column with following formula:
New Region = If(table[Countries] in {"Australia","Canada","China","India","USA"}, table[Countries], "All")
I hope this help.
Hi BookBok,
You can create a new calculated column with following formula:
New Region = If(table[Countries] in {"Australia","Canada","China","India","USA"}, table[Countries], "All")
I hope this help.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
100 | |
67 | |
44 | |
37 | |
36 |