Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi,
I want to group together categories into custom categories, as is shown in this link (https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning). But when I right-click on the visual, I'm unable to find this option.
I should also note that my data is connected via PowerBI datasets through an Alteryx connection. Could this be the reason why?
Thanks,
afk
You create the grouping using a calculated column in the field list under the table, not the visual itself. You then set the axis to this new calculated column.
MyGroup = // This is exactly what the grouping function does, but this gives you more control over logic SWITCH( TRUE(), [Col1] = "This" && [Col2] = "That", "ThisThat", // && is AND [Col1] = "That" || [Col2] = "This", "ThatThis", // || is OR "SomethingElse" // This is the value if no other conditions is met )
Thanks for your suggestion @jsh121988.
But I can't create calculated columns either, I can only create measures. Again, I think this may be due to the fact that the data is coming from a PowerBI dataset.
Will this work for measures as well?
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 |
---|---|
72 | |
71 | |
70 | |
42 | |
42 |
User | Count |
---|---|
49 | |
42 | |
29 | |
28 | |
27 |