Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
hi @rohazi
try to add a column like this:
Diff2 =
VAR _time = [Time]
VAR _date = [Date]
VAR _table =
FILTER(TableName, TableName[Date] = _date)
VAR _maxtime =
MINX(
FILTER(
_table,
TableName[Time] > _time
),
TableName[Time]
)
VAR _totalpre=
MAXX(
FILTER(
_table,
TableName[Time] =_maxtime
),
TableName[total]
)
RETURN
[Total] - _totalpre
it worked like this:
hi @rohazi
try to add a column like this:
Diff2 =
VAR _time = [Time]
VAR _date = [Date]
VAR _table =
FILTER(TableName, TableName[Date] = _date)
VAR _maxtime =
MINX(
FILTER(
_table,
TableName[Time] > _time
),
TableName[Time]
)
VAR _totalpre=
MAXX(
FILTER(
_table,
TableName[Time] =_maxtime
),
TableName[total]
)
RETURN
[Total] - _totalpre
it worked like this:
69706 -58277
60706 - 58277
yes
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |