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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
FreemanZ
Super User
Super User

How to handle calculate then filter scenario?

With DAX, it is always easy to filter then calculate.  What if we have to calculate then filter?
 
Supposing we have a table with three columns: ReportMonth, Product, and SalesAmount. The requirement is to get the list of the Products with 0 SalesAmount in all ReportMonths.  How could it be done?
 
It would be super easy to have a intermediate physical calculated table. But how to do that without buiding a physical intermediate table?
I thought it would be easy to use SUMMARIZE + ADDCOLUMNS, but i don't know how to code for the added column.
Could you help?
1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @FreemanZ 

let's suppose you have a table visual sliced by ReportMonth and Product and you placed the Sales Amount measure along with them. Then you can go the filter pane of the table visual, select the Sales Amount measure, select "is" and type "0" then apply the filter

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @FreemanZ 

let's suppose you have a table visual sliced by ReportMonth and Product and you placed the Sales Amount measure along with them. Then you can go the filter pane of the table visual, select the Sales Amount measure, select "is" and type "0" then apply the filter

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.