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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
deepvibha
Advocate II
Advocate II

Date on Card Visual or Text Box

Hello,

 

How to reflect a Date e. g. 07-Nov-2016 on Card Visual.

 

My requirement is that I am creating separate pages for Daily, Monthly and Annual surgeries.

 

As the report for today's surgeries will be seen tomorrow, I wish to display "Report Date" in a text box, followed by the date of report either on a Label or in a text box. e. g. Yesterday's report will be seen today hence the daily report page should display Yesterday's date.

 

How do I do it?

 

I have already created necessary relationships and a separate measure as:

 

Today = DATESBETWEEN(SurgeryMaster[Sx. Date],NOW()-1,now()-1)

 

I am using it in page level filter so that all visuals appearing on the page will be for yesterday. 

 

 

Thank You.

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@deepvibha

 

Do want to always have the day before the "report date" of the latest surgery appeared in a card?

 

If so, you can add a calculated column which always display the "yesterday" of report date. Then create a measure return the max "Yesterday" and have it displayed in Card Visual.

 

Column = DATEADD(SurgeryMaster[Sx. Date],1,day)

 

measure = MAX(SurgeryMaster[Column])

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@deepvibha

 

Do want to always have the day before the "report date" of the latest surgery appeared in a card?

 

If so, you can add a calculated column which always display the "yesterday" of report date. Then create a measure return the max "Yesterday" and have it displayed in Card Visual.

 

Column = DATEADD(SurgeryMaster[Sx. Date],1,day)

 

measure = MAX(SurgeryMaster[Column])

 

Regards,

Heartfelt Thanks. That Worked.....

 

Date on Label.png

 

Also I seek help in suppressing the Zero values in Visualizations. 

 

Thanks Again.

 

Regards,

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.