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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Syndicate_Admin
Administrator
Administrator

Filter data by most recent date

I have the data (logs) of a device that tests electronic boards with a single Serial Number (b_sn). I have data from several dates and so far all the measurements and calculations are done without discriminating if they have been tested 1 or 1000 times. The columns above the date are "date" and "time" (which I can put together by providing them in another column)

I want to have the same information and measurements but also about the data from the last time it was tested.

I can't create measures using this filter or create a table with the filtered data. Although I think the best thing would be about the measurements directly, even being able to put a selector of "All data" and "last date"

CBX_0-1705936920950.png

Here's a measurement, for example, where I'd like to add this filter. This measure the electronic boards tested with correct result

OK = CALCULATE(
COUNT(Fact_Logs[b_sn]),
FILTER(
(Fact_Logs),
VALUE(Fact_Logs[FLASH_FINISH]) =1 && Fact_Logs[t_finish_status] = 1 && Fact_Logs[c_finish_status] =1
)
)

1 REPLY 1
speedramps
Super User
Super User

We want to help you but your description is too vaugue. Please write it again clearly.

Please DON'T copy & paste your DAX that does not work and expect us to fathom what you want to do. That is a bit crazy. 😀

Please just give a simple non technical functional decscription of what you want, then let us suggest the solution. Thank you.

Provide example input data as table text (not a screen print) so we can import the data to build a solution for you.

Remove any unneed columns which may cause confussion.

Rename columns to user friendly names.
Also provide the example desired output, with a clear description of the process flow.
Remember not to share private data ... we don't want you to get into trouble. 😧
Take time and care to use the same table and field names in the input, output and description so we can understand your problem and help you.
Try keep it simple and ask one question per ticket.
You will get a quick response if you put time, proper care and effort into writing clear problem descriptions.
Remember you are gerrting free expert help, so please put lots of effort to asking questions and providing example.

Vaugue descriptions can waste your time and ourtime.

Look foward to helping you when the above information is forthcoming

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors