Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper I
Helper I

Sales that happene Prior Year but not This Year - Example Pic included

Hi everyone,


I have a simple model with a sales fact table and the various dimension such as Time/Data, Product, Customer, Country, etc. 


I would like to write a formula that retrieve the YTD of Prior Year Sales only when the condition where Sales YTD TY * Volume YTD TY = 0, so that for every value calculated this can be filtered, summarized by Country, Product, Customer, etc. 


Below a simple image that should give the idea: 





I have tried a plenty of formulas but I did not have success: can anyone help me? 



Helper I
Helper I


Helper I
Helper I


Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors