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 nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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 ReportingJoin us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |