Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Jason_Walker
Frequent Visitor

Slicer Shows No Data When "Select All" is Selected

I'm a Power BI noob and these forums have been invaluable in figuring out how to resolve numerous issues. The latest problem has me stumped though and hours of searching hasn't turned anything up.

 

What I'm trying to figure out is why my slicer shows no data in the visual when "Select All" is picked? I've posted some sample data below of what the table looks like for obligations across two Areas (East and West) and three Departments (Headquarters, Marketing, & Sales). I've created a measure that sums the Obligations and provides the cumulative total by month. Here is the DAX code:

 

FY22 Cumulative Execution = calculate(sum('FY22 Execution'[Oblig.]),filter(all('FY22 Execution'),'FY22 Execution'[Fiscal Month] <= max('FY22 Execution'[Fiscal Month]) && 'FY22 Execution'[Area] == SELECTEDVALUE('FY22 Execution'[Area]) && 'FY22 Execution'[Department] == SELECTEDVALUE('FY22 Execution'[Department])))

 

Currently, I can pick any individual option for Department and Area and the data shows up fine (example below).

One Dept Working.jpg

 

But when I try aggregating all of the execution data by choosing "Select All", no data is returned in the visual

All Depts Selected.jpg

 

Here is the data from the FY22 Execution table if that helps (the Area and Department columns are added in Power BI and based on the specific Functional Area):

 

Fiscal yearFiscal MonthFunctional AreaArea*Department*Oblig.
20221123456SALEEastSales17,542,684.00
20221654321HQHQWestHeadquarters3,204,395.00
20221987654MARKEastMarketing12,811,038.00
20231987654MARKEastMarketing3,478,437.00
20222123456SALEEastSales8,653,641.00
20222654321HQHQWestHeadquarters-1,489,585.00
20222987654MARKEastMarketing7,691,332.00
20222123456SALEEastSales4,265,303.00
20222987654MARKEastMarketing12,132,733.00
20223123456SALEEastSales2,723,758.00
20223654321HQHQWestHeadquarters18,113,175.00
20223987654MARKEastMarketing19,941,798.00
20223654321HQHQWestHeadquarters1,627,687.00
20223987654MARKEastMarketing3,326,112.00
20224123456SALEEastSales-660,530.00
20224654321HQHQWestHeadquarters74,626.00
20224987654MARKEastMarketing2,115,695.00
20224123456SALEEastSales16,243,194.00
20224654321HQHQWestHeadquarters18,588,308.00
20224987654MARKEastMarketing12,118,671.00
20225123456SALEEastSales4,160,079.00
20225654321HQHQWestHeadquarters4,842,431.00
20225987654MARKEastMarketing6,510,183.00
20225654321HQHQWestHeadquarters16,273,608.00
20226123456SALEEastSales11,309,438.00
20226654321HQHQWestHeadquarters12,695,390.00
20226987654MARKEastMarketing6,876,251.00
20226123456SALEEastSales5,740,916.00
20226654321HQHQWestHeadquarters16,471,866.00
20226654321HQHQWestHeadquarters15,861,168.00
20226987654MARKEastMarketing-1,789,973.00
20227123456SALEEastSales1,910,653.00
20227654321HQHQWestHeadquarters6,179,025.00
20227987654MARKEastMarketing8,005,870.00
20227654321HQHQWestHeadquarters9,508,801.00
20228123456SALEEastSales15,743,878.00
20228654321HQHQWestHeadquarters5,789,809.00
20228987654MARKEastMarketing16,399,780.00
20228123456SALEEastSales6,208,686.00
20228654321HQHQWestHeadquarters9,778,786.00
20229123456SALEEastSales1,342,227.00
20229654321HQHQWestHeadquarters11,035,011.00
20229987654MARKEastMarketing9,341,516.00
20229654321HQHQWestHeadquarters4,190,246.00
20229987654MARKEastMarketing7,771,284.00
202210123456SALEEastSales-246,182.00
202210654321HQHQWestHeadquarters7,686,851.00
202210987654MARKEastMarketing415,005.00
202210123456SALEEastSales1,678,615.00
202210654321HQHQWestHeadquarters11,874,096.00
202210987654MARKEastMarketing5,563,839.00
202211123456SALEEastSales3,150,280.00
202211654321HQHQWestHeadquarters4,652,000.00
202211987654MARKEastMarketing-1,929,710.00
202211654321HQHQWestHeadquarters3,575,209.00
202211987654MARKEastMarketing182,394.00
202212123456SALEEastSales4,755,511.00
202212654321HQHQWestHeadquarters318,556.00
202212987654MARKEastMarketing19,372,329.00
202212654321HQHQWestHeadquarters-47,837.00

 

I'm pretty sure the issue is the filter I have in the Measure but I'm not sure how to fix it. Any ideas what the problem is?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Jason_Walker , Try like

 

FY22 Cumulative Execution = calculate(sum('FY22 Execution'[Oblig.]),filter(all('FY22 Execution'),'FY22 Execution'[Fiscal Month] <= max('FY22 Execution'[Fiscal Month]) && 'FY22 Execution'[Area] in VALUEs('FY22 Execution'[Area]) && 'FY22 Execution'[Department] in VALUEs('FY22 Execution'[Department])))

 

 

or

 


FY22 Cumulative Execution = calculate(sum('FY22 Execution'[Oblig.]),keepfilters( filter(all('FY22 Execution'),'FY22 Execution'[Fiscal Month] <= max('FY22 Execution'[Fiscal Month]) && 'FY22 Execution'[Area] in VALUEs('FY22 Execution'[Area]) && 'FY22 Execution'[Department] in VALUEs('FY22 Execution'[Department]))))

 

 

or use treat as for the two slicer where I have used in

 

https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Jason_Walker , Try like

 

FY22 Cumulative Execution = calculate(sum('FY22 Execution'[Oblig.]),filter(all('FY22 Execution'),'FY22 Execution'[Fiscal Month] <= max('FY22 Execution'[Fiscal Month]) && 'FY22 Execution'[Area] in VALUEs('FY22 Execution'[Area]) && 'FY22 Execution'[Department] in VALUEs('FY22 Execution'[Department])))

 

 

or

 


FY22 Cumulative Execution = calculate(sum('FY22 Execution'[Oblig.]),keepfilters( filter(all('FY22 Execution'),'FY22 Execution'[Fiscal Month] <= max('FY22 Execution'[Fiscal Month]) && 'FY22 Execution'[Area] in VALUEs('FY22 Execution'[Area]) && 'FY22 Execution'[Department] in VALUEs('FY22 Execution'[Department]))))

 

 

or use treat as for the two slicer where I have used in

 

https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

The first DAX formula worked great. Thanks for your help!

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.