Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
FWIW, I'd hypothesize that the run-length encoding compression that Power BI uses would make expanding the records less of an issue than you might imagine. The cardinality (distinct count) of a column is more important than the actual number of rows.
However, that doesn't necessarily mean it's the best approach. You can indeed write a measure that iterates over each DateTime row in your calendar table (although you probably want to consider having separate Date and Time dimension tables). Something like this:
SUMX (
'Date'[DateTime],
VAR _CurrDateTime = 'Date'[DateTime]
VAR _LastDateTime =
CALCULATE ( MAX ( TimeSeries[DateTime] ), 'Date'[DateTime] <= _CurrDateTime )
RETURN
CALCULATE ( SUM ( TimeSeries[Value] ), 'Date'[DateTime] = _LastDateTime )
)
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
91 | |
85 | |
65 | |
62 | |
58 |
User | Count |
---|---|
150 | |
113 | |
95 | |
80 | |
72 |