Forum Discussion
MarioJoseb1980
2 years agoFrequent Visitor
Creating a table with filtered values using a date from and date to
Hi this is not working for me. I am creating a table using this dax: EventosFiltrados = FILTER('Eventos Agosto', 'Eventos Agosto'[Fecha Inicio Evento] <= [SelectedDate] && 'Eventos Ag...
- Anonymous2 years ago
hi MarioJoseb1980 ,
I delete the relationship and edit the DAX formula.Filter_date = VAR dat = SELECTEDVALUE('100 HORAS CRITI'[Date]) VAR hou = SELECTEDVALUE('100 HORAS CRITI'[Hour]) VAR filter_dat = FILTER('Event_Table', 'Event_Table'[Start Date] <= dat && 'Event_Table'[Start Hour] <= hou && 'Event_Table'[End Date] >= dat && 'Event_Table'[End Hour] >= hou) RETURN CALCULATE(SUM('Event_Table'[Generation reserve]), filter_dat)The result is shown below.
You need to be a super user to attach files on messages.
Solved: How to upload PBI in Community - Microsoft Fabric Community
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MarioJoseb1980
2 years agoFrequent Visitor
Another important thing: both tables "100 Horas Criticas" and "Eventos Agosto" doesn't have a relationship. In your example you are creating a relationship between them, which is not the current situation.
MarioJoseb1980
2 years agoFrequent Visitor
don't know how to attach here the pbix file. 😞