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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
heebnash
New Member

Conditional Sum Forumula DAX Help

I am trying to create a measure for sum in a given time period.

 

I would like the measure/s to sum TTl_out_qty based on the WE column for date.  I have several date ranges.  If i just do a simple sumif dax formula would my WE modifier on the visualization select only the sum by the given date or do I need a specific measure for each date range?  

 

 

heebnash_0-1649162976109.png

 

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @heebnash 

Not fully sure what you want.

Please provide sanitized sample data that fully covers your issue.

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@heebnash ,  Do you want to switch dates or measure. to switch date you can have a common date table and inactive joins. and use userelationship to work on that

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

 

In case you need to swap measures based on selection

measure slicer
https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...

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

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.