Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
i have a table with the following columns:
What I want to do is to sort the POS grouped column by sales (since I will use the POS grouped column as a slicer). However, Power BI returns me an error because there can't be more than one value in column "Sales units" for the same value in "POS grouped".
Is there a way I can do it? Before grouping, I was able to sort column A (POS) by column B (sales units).
THanks in advance.
Andy
Solved! Go to Solution.
Hi @Anonymous,
Based my test, you should be able to follow steps below to sort the slicer(POS (groups) column) by sales.
1. Use the formula below to create a new summarize table.
Table = SUMMARIZE(Table1,Table1[POS (groups)],"Sales",SUM(Table1[SALES]))
2. Sort POS (groups) column by Sales column in the new table.
3. Create a relationship between the new summarize table and the original table.
4. Then use the POS (groups) column from new summarized table instead as slicer.
Here is the modified pbix file for your reference.
Regards
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |