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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.