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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
adam_mac
Helper I
Helper I

DAX Help: Measure to calculate total sales on specific year

Hi, first off apologies because i am a complete noob with DAX (slowly learning though). 

 

I am trying to write a mesure that calculates the net fee where academic year = 2021. Something similar to a SUMIF in excel. The below script im trying to use however is returning blank. Any help much appreciated. 

 

AcadmeicComp = CALCULATE([NetValue],Finance_Sales[AcademicYear]=2021)
1 REPLY 1
HotChilli
Super User
Super User

There's not enough info here to help you.  We need to see some data, the model/relationships and a definition of [NetValue] at the least.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.