Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have few flags as (1/2/3) in my data sets which have specific meanings.
for eg,
if 1 then active
if 2 then partial active
if 3 then completely active.
so considering the performance which of the following method do you suggest???
1>in edit query, change data type and replace values
2>create a calculated column.
3>create a separate table in power bi and then connect the two.
Solved! Go to Solution.
Hi @Ashi
What I would suggest or what I would do, is to create a new column in the Query Editor.
By doing it in the Query Editor it is very easy to create the Conditional Column. As well as if there ever were any changes it would be easy to update.
It would also give you better performance because the column is created before the data is compressed using the Vertipaq compression algorithm. And then you could use this new column in a slicer or filter (Soon to be released Drill Through) if required.
Hi @Ashi,
Could you please mark the proper answer as solution or share the solution if it's convenient for you? That will be a big help to the others.
Best Regards!
Dale
Hi @Ashi
What I would suggest or what I would do, is to create a new column in the Query Editor.
By doing it in the Query Editor it is very easy to create the Conditional Column. As well as if there ever were any changes it would be easy to update.
It would also give you better performance because the column is created before the data is compressed using the Vertipaq compression algorithm. And then you could use this new column in a slicer or filter (Soon to be released Drill Through) if required.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
30 | |
24 | |
23 | |
20 |
User | Count |
---|---|
54 | |
33 | |
22 | |
20 | |
20 |