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.
Good afternoon.
I need to get the expected result in the Nevento column with DAX
The expected result is still the start date/time of each event.
The "whim of doing it with Dax is because of the volume of dtos (1,700,000 and going up).
I have tried to refer to the colu
Solved! Go to Solution.
Hi @JECJ ,
Try to create a column like so:
Column =
VAR Most_Recent_Date_Without_Event =
MAXX (
FILTER (
'Table',
'Table'[Date] < EARLIER ( 'Table'[Date] )
&& 'Table'[Event] = BLANK ()
&& EARLIER ( 'Table'[Event] ) <> BLANK ()
),
[Date]
)
RETURN
MINX (
FILTER (
'Table',
'Table'[Date] > Most_Recent_Date_Without_Event
&& Most_Recent_Date_Without_Event <> BLANK ()
),
[Date]
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @JECJ ,
Try to create a column like so:
Column =
VAR Most_Recent_Date_Without_Event =
MAXX (
FILTER (
'Table',
'Table'[Date] < EARLIER ( 'Table'[Date] )
&& 'Table'[Event] = BLANK ()
&& EARLIER ( 'Table'[Event] ) <> BLANK ()
),
[Date]
)
RETURN
MINX (
FILTER (
'Table',
'Table'[Date] > Most_Recent_Date_Without_Event
&& Most_Recent_Date_Without_Event <> BLANK ()
),
[Date]
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Perrrrrrfectoooo
Thanks a lot. Works.
Eres el fmou (f?" % master of universe)
A hug from Malaga
Can you include data in table format? (not an image)
Hi,
I am not sure what you are need exactly, based on excel you have show I have given result like below, if you need anyother things plesase reply,
Add calculated column
First of all thank you for the answer @Syndicate_Admin
What I intend is that you "drag" the first date time while the event is 1 consecutively. The moment you go to zero and go back to one, take back the first date/time of the next event.
Greetings
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 |
---|---|
98 | |
97 | |
75 | |
71 | |
64 |
User | Count |
---|---|
143 | |
109 | |
103 | |
82 | |
74 |