Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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 Reporting| User | Count |
|---|---|
| 20 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |