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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AllanBerces
Post Prodigy
Post Prodigy

Card Filter to Current Date

Hi and good day,

Please can anyone help me on how can i filter my card base from the current date. I have calculated column, can help to convert into measure, or any other way to filter my card from the current date. 

 

Today_Column = if('Table'[PlanDate]=TODAY(),"Today",""& 'Table'[PlanDate])
 
My Table are all Measure, the Card should reflect Percent_Daily = 28.36
AllanBerces_0-1742375116152.pngAllanBerces_1-1742375182056.png

 

Thank you

3 ACCEPTED SOLUTIONS
hbgv123
Frequent Visitor

You can add date filter only to that card visual and then select relative date option to show last 1 day including today.

Let me know if it works

 

View solution in original post

Moana
Frequent Visitor

Hi @AllanBerces ,

You can create a calculated column in the table as
Today = IF(Table1[Date]=TODAY(),1,0)
then use this field on visual filter --> go to advance filtering --> click 1.

You can refer to a similar solution here-
Solved: Filter by today's date - Microsoft Fabric Community

Thanks.

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

View solution in original post

bhanu_gautam
Super User
Super User

@AllanBerces 

You can create a measure that checks if the PlanDate is today and then use this measure to filter your card.

IsToday = IF(MAX('Table'[PlanDate]) = TODAY(), 1, 0)

 

Assuming you want to display Percent_Daily for today, you can create a measure that filters the table for today's date and then calculates the desired value.

DAX
Percent_Daily_Today =
CALCULATE(
MAX('Table'[Percent_Daily]),
FILTER('Table', 'Table'[PlanDate] = TODAY())
)

 

Now, you can use the Percent_Daily_Today measure in your card visualization to display the percentage for the current date.

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

4 REPLIES 4
bhanu_gautam
Super User
Super User

@AllanBerces 

You can create a measure that checks if the PlanDate is today and then use this measure to filter your card.

IsToday = IF(MAX('Table'[PlanDate]) = TODAY(), 1, 0)

 

Assuming you want to display Percent_Daily for today, you can create a measure that filters the table for today's date and then calculates the desired value.

DAX
Percent_Daily_Today =
CALCULATE(
MAX('Table'[Percent_Daily]),
FILTER('Table', 'Table'[PlanDate] = TODAY())
)

 

Now, you can use the Percent_Daily_Today measure in your card visualization to display the percentage for the current date.

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Moana
Frequent Visitor

Hi @AllanBerces ,

You can create a calculated column in the table as
Today = IF(Table1[Date]=TODAY(),1,0)
then use this field on visual filter --> go to advance filtering --> click 1.

You can refer to a similar solution here-
Solved: Filter by today's date - Microsoft Fabric Community

Thanks.

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

hbgv123
Frequent Visitor

You can add date filter only to that card visual and then select relative date option to show last 1 day including today.

Let me know if it works

 

Hi @hbgv123 @bhanu_gautam @Moana thank you very much for the reply. work as i need.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.