Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi guys.
I created the fololowing formula to count how many days I have from one date to the other:
Solved! Go to Solution.
use MAX instead of MIN. If that doesn't work, you will need to provide some data and show where it is failing, or provide a PBIX file. See links below.
How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingJust a simplier question relating to this.
I have a table with many dates per rows and want to compare these dates to 30/06/2020.
What I did so far was the following:
Did I use the formula wrongly?
Thanks heaps,
Diego
Hi @Anonymous ,
We are not clear about your requirement. Can you please share some sample data and expected results?
Here are the similar threads that you could reference firstly.
https://community.powerbi.com/t5/Desktop/Days-between-based-on-slicer/m-p/491626#M229121
https://community.powerbi.com/t5/Desktop/Slicer-based-datediff/m-p/735223#M354631
@Anonymous , if you are using a Measure for date diff, you need a common context to have diff. Refer my blog on this topic
use MAX instead of MIN. If that doesn't work, you will need to provide some data and show where it is failing, or provide a PBIX file. See links below.
How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting