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

How to Get the Maximum Condition-Based Logging of All Data

I have attached the test PBIX file as mentioned below.

Link to test PBIX file: https://1drv.ms/u/s!AiSRcgO5FUmN8w4UpKd5wMPcvPuI?e=rnLWaF

Test data:

Rakeshguptawe_0-1704973046937.png

In the test data above,

1) If I select the time "11:00 AM",

First, we need to filter each employee's unique time in the "DOJ" column maximum

Second, after filtering the maximum time, the "EmpStatus" filter is just OK.

If "EmpStatus" is Reject, that employee does not need to be considered.

Therefore, the final total of the records for "11:00 AM" is (1 record. (i.e.) Waugh ==> 10:45 AM). the other record of James's Empstatus is Reject. so there's no need to consider Jame's track record. This is until 11:00 a.m. of registration.

2) If I select the time "03:00 PM",

First, we need a unique filter for each employee in the maximum time of the "DOJ" column

Second, after filtering the maximum time, the "EmpStatus" filter is just OK.

Therefore, the final total of the records for "03:00 PM" is (1 record. (i.e.) again James' record should come ==> 02:42 AM). the other Waugh Empstatus record is Reject. so there's no need to consider Waugh's record. This is until 03:00 PM registration

In this way, we need to form the condition.

How to do this..?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi Rakeshguptawe,

Based on your description, I added three visual filters:

vcgaomsft_0-1705039560663.png
And the Output:

vcgaomsft_1-1705039634782.png

Plesae check the pbix file.


Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group



 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi Rakeshguptawe,

Based on your description, I added three visual filters:

vcgaomsft_0-1705039560663.png
And the Output:

vcgaomsft_1-1705039634782.png

Plesae check the pbix file.


Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group



 

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