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 try to group New column in top3 with A , B , C and Other
but i cant i dont understand why, can anyone plese send me super sample files .. T_T thank you
Solved! Go to Solution.
Hi @GhostTIT ,
Your DAX is available, but it's for use inside a measure not column:
The article describes the difference between column and measure, you could refer to: The differences between new measure and new column in Power BI - The Data School Down Under
New columns are static and calculated based on existing data, while measures are dynamic and based on aggregated data.
What's more, you could create the new column or measure under this tab:
And in case you want to create a column to achieve the output, please follow the method below:
ProductTop3andOthers_column =
VAR _a = financials[Sale_column]
VAR _b = RANKX(financials, [Sale_column], , DESC, Dense)
RETURN
IF(_b <= 3 , financials[Product] , "Other")
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @GhostTIT ,
Your DAX is available, but it's for use inside a measure not column:
The article describes the difference between column and measure, you could refer to: The differences between new measure and new column in Power BI - The Data School Down Under
New columns are static and calculated based on existing data, while measures are dynamic and based on aggregated data.
What's more, you could create the new column or measure under this tab:
And in case you want to create a column to achieve the output, please follow the method below:
ProductTop3andOthers_column =
VAR _a = financials[Sale_column]
VAR _b = RANKX(financials, [Sale_column], , DESC, Dense)
RETURN
IF(_b <= 3 , financials[Product] , "Other")
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
this is my sample files
Again , i want to create New colum with this code
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 |
---|---|
11 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
9 |