This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 ReportingCheck out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 34 | |
| 33 | |
| 24 | |
| 23 |