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.
Good morning community, I write because I have a problem that I have been trying to solve for some time.
I have a table with some records of failures, which have start date and end date, I made a measurement to calculate the duration of the failure. The important thing about this measure is that if I select a specific month and the failure has as its starting date a day corresponding to the month prior to the selected one, I should take as the starting date for the calculation of the duration of the failure the first day of the month, this in order to be consistent with the filters that I am applying.
Solved! Go to Solution.
Hi @Syndicate_Admin ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
Total_TiempoIncidenteMin =
SUMX(VALUES('Tickets Maximo Base'[cinum]),[TiempoIncidenteMin])
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Syndicate_Admin ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
Total_TiempoIncidenteMin =
SUMX(VALUES('Tickets Maximo Base'[cinum]),[TiempoIncidenteMin])
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The important thing about this measure is that if I select a specific month and the failure has as its starting date a day corresponding to the month prior to the selected one, I should take as the starting date for the calculation of the duration of the failure the first day of the month, this in order to be consistent with the filters that I am applying.
I didn't get this part, can you please elaborate?