Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I'm using the following formula to populate a specific column of a table:
Solved! Go to Solution.
I got the solution bymyself it's enough to use SWITCH(TRUE()
HI @Emiliano ,
Did you mean you are try to create a calculated column to use switch to check current row and return measure result?
If this is a case, power bi not support to use slicer/filter to create a dynamic calculated column.
Measure are calculated based on its row contents, if you use it in calculated column. Its row contents will be fixed as whole table and return static result.
Regards,
Xiaoxin Sheng
The measures are calculated outside table with data outside the table but they are only put in the table in each rows with function SWITCH (each row has a different measure) and they have to change with time filter but the don't.
Hi @Emiliano ,
Can you please share some sample data with export result to help us clarify your scenario?
Regards,
Xiaoxin Sheng
I got the solution bymyself it's enough to use SWITCH(TRUE()
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 21 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 59 | |
| 53 | |
| 41 | |
| 31 | |
| 31 |