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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
New to "M".... struggling...
Trying to use Add a time-in-state measure to a Power BI report - Azure DevOps | Microsoft Docs as a basis, but NOT "state", rather "Board column"....
My immediate problem is one calculation I don't see what is wrong...
CALCULATE (
MAX ( '#"PP04-WorkItemBoardSnapshot"'[DateValue] ),
ALLEXCEPT ( '#"PP04-WorkItemBoardSnapshot'", '#"PP04-WorkItemBoardSnapshot"'[WorkItemId] ),
'#"PP04-WorkItemBoardSnapshot"'[DateValue] < EARLIER ( '#"PP04-WorkItemBoardSnapshot"'[DateValue] )
)
I have tried every combination of quotes, and # (dont thik I should need either since no spaces...but...
Solved! Go to Solution.
Gotcha. Try using calculated column instead of a measure. Looks like that's what the article you mentioned is demonstrating. That may resolve the issue.
If this helps, please give it a thumbs up!
Try Time in State for Azure DevOps extension as an alternative https://marketplace.visualstudio.com/items?itemName=SaaSJet.tis-azure .
It's not the solution for Power BI, but it's easier to use. Report generation is automatic. You only need to select time or work item intervals.
I hope you find this helpful solution.
@dcorbin-wintell I have this information in the latest version of the free Power BI template FlowViz - https://github.com/nbrown02/FlowViz
Hi @dcorbin-wintell ,
Looks like you want to create a measure? Sadly you can't use Earlier() function in a measure. You could try use < selectedvalue([datevalue]) instead. In addition, you want DAX help, please show some sample data and expected to us.
Best Regards,
Jay
Jay,
Thanks for the response. The material I am trying to replicate (conceptually) is in the linked article. The DAta is a standard Microsoft DevOps Analytics Table (apparently board column changes are not stored in real time).
really the EARLIER that has me stumped...
Gotcha. Try using calculated column instead of a measure. Looks like that's what the article you mentioned is demonstrating. That may resolve the issue.
If this helps, please give it a thumbs up!
Thanks, that got me past that first one.... Not it looks like the actual datapoints when a value has changed (for doing hisotry/trends) is not in the analytics at all 🙄. Instead there is a nightly snapshot, which does nothing to capture the flow (multiple chnages) within a day....
You're trying to implement DAX in Power Query, which is not possible. DAX and M language is different in that the latter is used in Power Query (data transformation steps) and DAX is used after loading your tables.
For your case, use that DAX code by right clicking on a table after loading data into the data model, and choose "New Measure". And paste your code in the editor.
Hope that makes sense!
Thanks for the quick response.... That was where I started... And this is what that yields...
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 91 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |