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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
User38690
Regular Visitor

Dax calculation using two different date columns

Hello, 

I have two different dates, the first shows how many orders I received and the second shows how many I fulfilled.

User38690_0-1694511545415.png

 

I want to make one table that shows how many orders I received in a certain month and how many I fulfilled. Is there a way to calculate how many orders were fulfilled after removing the date of the second month like in the second table?

User38690_1-1694511568936.png

 

1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @User38690 ,

you have to use a date table with one active relationship to Column "Month_1" and one inactive relationship to Column "Month_2"

 

Please see my pbi file Dax calculation using two different date columns.pbix

 

Best Regards
mangaus1111

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
mangaus1111
Solution Sage
Solution Sage

Hi @User38690 ,

you have to use a date table with one active relationship to Column "Month_1" and one inactive relationship to Column "Month_2"

 

Please see my pbi file Dax calculation using two different date columns.pbix

 

Best Regards
mangaus1111

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Thank you, it was really helpfull 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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