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 a data set that contains five regions, but I want to create a slicer that lists seven items: the five individual regions, a combined region, and then all regions. I don't just want to use groups as I need to filter on individual selections as well.
This is a project to convert an existing excel report which utilizes multiple IF(AND(OR))) calcs to achieve the result. For clarity, I am an advanced Tableau user, so I know how to do this in that tool, but our company uses PBI, and I don't know how this translates over. In theory I know how it should work, I just can't figure out how to accomplish the task.
For example, using a simple dataset:
Region | Sales |
Eastern | 300000 |
Western | 340000 |
Central | 220000 |
Southern | 130000 |
Northern | 450000 |
I want to be able to create a slicer that not only has these five regions, but also a NorthEast region, as well as an All Regions.
I know you can multi-select within a slicer, but I want the slicer to show all regions, as well as the combined region in a single selection.
Slicer:
All Regions
Eastern
Western
Central
Southern
Northern
NorthEast
Results being that selecting All Regions would show 1440000, any specific region would show their resepective sales amount, and NorthEast would show 750000.
Solved! Go to Solution.
This solution uses the two tables below. There are various ways to create them (manually, DAX, Power Query).
Measure:
Total Sales =
CALCULATE (
SUM ( FactTable[Sales] ),
CROSSFILTER ( RegionGroups[Region], FactTable[Region], BOTH )
)
Proud to be a Super User!
This solution uses the two tables below. There are various ways to create them (manually, DAX, Power Query).
Measure:
Total Sales =
CALCULATE (
SUM ( FactTable[Sales] ),
CROSSFILTER ( RegionGroups[Region], FactTable[Region], BOTH )
)
Proud to be a Super User!
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 |
---|---|
9 | |
9 | |
8 | |
6 | |
6 |