This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA 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.
I have a date diff column that added , but i'd like it to show up in my power query. How can I ahieve this? I am trying to create categories based on the amount of time difference between the two dayss ie. 1-7 days = 1 week tenure 8-14=2 week tenure, etc.
DATEDIFF= DATEDIFF('cs exit'[when did you start with XYZ company?],today(),DAY)
Solved! Go to Solution.
If you are doing two dates and want the weeks between, per your definition, this should work
Number.RoundAwayFromZero(
Number.From([Date 2] - [Date 1]) / 7
)
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCheck out the May 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 |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |