Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Measure to filter rows by date

Hello everyone!

 

I would like to create a measure to filter the number of days for 'Cama Alta' for either one of the specific dates listed on the rows. Right now it is adding the number of days for both dates. I need the measure to bring either value, not the sum of them.

 

Thanks!

 

Days by Equipment.png

4 REPLIES 4
camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

I'm not sure I got your point but you can use it with slicers, so it will filter your data. Also if you are using it on visuais, check the summarization, if it's numeric the default should be sum. You can change it.

 

If I don't answered you question, please give us more details about what you are doing.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Anonymous
Not applicable

I used the slicer to select the date I want, but it will not give me the correct days. It brings the sum of days for both dates, even if only one date is selected.

 

I am looking for a measure that will filter out the rows by date and then bring the correct number of days.

Hi @Anonymous ,

 

Can you post a sample of your data and how you expect the results ?



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Anonymous
Not applicable

The following is a matrix where it lays all the data. It is adding all the values instead of separating them by date.

 

I am also posting the table where it is pulling everything from.

 

2020-05-08_13-03-06.png2020-05-08_13-05-07.png2020-05-08_13-04-49.png2020-05-08_13-04-58.png2020-05-08_13-03-34.png

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.