The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
i need yout help please
I have a table that contains several refresh dates and I need to display the last item by the last start date and the end date which corresponds to it
example :
result i want
thank you for you help
Solved! Go to Solution.
hi @MagMag31
try like:
1) create a calculated table like:
Table =
ADDCOLUMNS(
DISTINCT(data[item]),
"start refresh date",
CALCULATE(MAX(data[start refresh date]))
)
2) join the new table with the data table on [start fresh date] column
3) add two calculated columns like:
end refresh date = RELATED(data[end refresh date])
Duration = RELATED(data[duration])
it worked like:
hi @MagMag31
try like:
1) create a calculated table like:
Table =
ADDCOLUMNS(
DISTINCT(data[item]),
"start refresh date",
CALCULATE(MAX(data[start refresh date]))
)
2) join the new table with the data table on [start fresh date] column
3) add two calculated columns like:
end refresh date = RELATED(data[end refresh date])
Duration = RELATED(data[duration])
it worked like:
it works thank you so much !
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |