Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
At this moment im stuck i one of my power bi reports.
I want to do the following, in my dataset a incidentnumber has multiple timestamps. I tried some measures but still i cannot get only the first date as shown in the picture below. Is there someone who can help me with this problem?
Kind regards,
Kay Wokke
Solved! Go to Solution.
Hi @Wokster ,
Please try:
Measure = CALCULATE(MIN('Table'[TimeStamp]),ALLEXCEPT('Table','Table'[incidentNumber]))
Column = CALCULATE(MIN('Table'[TimeStamp]),FILTER(ALL('Table'),'Table'[incidentNumber]=EARLIER('Table'[incidentNumber])))
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @Wokster ,
Please try:
Measure = CALCULATE(MIN('Table'[TimeStamp]),ALLEXCEPT('Table','Table'[incidentNumber]))
Column = CALCULATE(MIN('Table'[TimeStamp]),FILTER(ALL('Table'),'Table'[incidentNumber]=EARLIER('Table'[incidentNumber])))
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi Gao,
The problem is is that incidentnumber is not in the same table as the timestamp.. so the column one is not working also the measure one is not working.
But what you show me as column is exactly what i need!
Does anyone has a solution for this?
I did something wrong above it is working verry well!
Thanks for it.
Hi @Wokster
1. Place incidentNumber in a table visual
2. Create this measure and place it in the table visual
Measure_ =
MIN ( Table1[timeStamp] )
Note this will provide date and time. You talk about getting the date, so if it's only the date that you are after (excluding the time):
Measure2_ =
DATEVALUE( MIN ( Table1[timeStamp] ) )
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
@Wokster Measure = MIN('Table'[timeStamp])
?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
94 | |
82 | |
70 | |
64 |
User | Count |
---|---|
116 | |
106 | |
94 | |
79 | |
72 |