March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi All
I have a table containing 3 columns. trip_date, trip_id and country_name.
I want to create a column chart showing trip month on x-axis and count of trip_id (number of trips) on y-axis.
I have a trip date slicer at the top.
Now if a country has count of trips less than 3 for the selected date range then it shoud be dynamically categorised/grouped to
"Other" else it shoud be under the country_name.
For example
trip_date trip_id country_name
1/1/2023 1 USA
1/2/2023 2 USA
1/3/2023 3 USA
1/4/2023 4 Canada
1/5/2023 5 Canada
1/6/2023 6 Canada
1/7/2023 7 Canada
1/3/2023 8 Brazil
1/4/2023 9 Brazil
1/10/2023 10 Brazil
Output
=> If I select the date range from 1/1/2023 to 1/5/2023 then Brazil and Canada will be grouped under "Others" becasue they have less then 3 trip counts for the selected date range.
=> If I select the date range from 1/3/2023 to 1/8/2023 then USA and Brazil will be grouped under "Others" becasue they have less then 3 trip counts for the selected date range.
I would appreciate any help in this regards.
Best Regards
Rashid Anwar
@rashidanwar , if think you need a very similar solution, the filter is not on rank measure but on sum of qty measure
Power BI- TOPN with Others- https://youtu.be/I_TY4hVlzAE
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
128 | |
90 | |
75 | |
56 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |