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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
kollasv
Helper I
Helper I

Need a measure or calculated column for a particular data based on a date

Hi Team,

I need to filter timesheet not submitted resources list based on a selection in the slicer, everything is good but if i select a week which is in february, the list is showing, but in that "Resources not submitted list" the resources who were not joined in the Feb( Eg: I and M, their joing date is in march)  also showing like they were not submitted the timesheets in Feb, before joining date how they can submitt the timesheets, 

I need to remove those names from the "Resources not submittes list" table whose joing date is less than the selected date (in slicer yellow colour arrow)

is there any calculated measure/column possible like that...... please help me dear profeessionls... it is really need for me.

PBI_Doubt.png

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @kollasv ,

 

Approve with @saravanan_p ,

Based on your description, I have created a simple sample like this:

vjianbolimsft_0-1660726587602.png

vjianbolimsft_1-1660727090012.png

Note: there is no relationship between the two tables.

Then create a measure:

 

Measure = IF(MAX('Table'[Date])<= SELECTEDVALUE('Date'[Date]),1,0)

 

apply it to the visual:

vjianbolimsft_2-1660728724319.png

Then use the filter:

vjianbolimsft_3-1660728772735.png

Final output:

vjianbolimsft_4-1660728802296.png

If the result is not what you want, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Refer to:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @kollasv ,

 

Approve with @saravanan_p ,

Based on your description, I have created a simple sample like this:

vjianbolimsft_0-1660726587602.png

vjianbolimsft_1-1660727090012.png

Note: there is no relationship between the two tables.

Then create a measure:

 

Measure = IF(MAX('Table'[Date])<= SELECTEDVALUE('Date'[Date]),1,0)

 

apply it to the visual:

vjianbolimsft_2-1660728724319.png

Then use the filter:

vjianbolimsft_3-1660728772735.png

Final output:

vjianbolimsft_4-1660728802296.png

If the result is not what you want, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Refer to:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

saravanan_p
Resolver III
Resolver III

Hi,
It is good if we receive sample file , else you may try using below steps:

create a measure :

c1= var select_Date= selected value(MonthTimesheetWeek) Return

if(resource joining date < select_Date,1,0)
Use this measure page level or table filter and select to1. You should be seeing only users flagged with 1.
If the solution is correct, kindly mark as solution.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.