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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
sagivh
Microsoft Employee
Microsoft Employee

Card with only last day data

Hello, I have a trend that shows daily active users and I want to have a card showing only the last day of that trend, it seems the card has a filter by date but i need to pick a date and cannot set "last day" as a value. 

 

Any idea how I can take an existing table and only show last day of values in a card?

 

thanks a lot. 

1 ACCEPTED SOLUTION

Based on the filter context it takes last of that period and if no filter then it takes the latest date.

And its dynamic based on incremental data




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


View solution in original post

8 REPLIES 8
st_ben83
Frequent Visitor

I have the same problem. In the card visual, if I put a date filter, and use "is in this day" filter, it shows the previous day.

amitchandak
Super User
Super User

@sagivh 

If you simply want the last date that should consider filter than you can use Last Or the max function after putting the date on the card.  In Visualization pane right-click on the name of Date and do that.

 

If you want from the table and do not want to consider any filter

Max Date = calculate(Max(Table[Date]),All(Table))

 

Say filter is no date table joined with this and only want all dates then

Max Date = calculate(Max(Table[Date]),All(Date))

 

 

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thank you very much Amit, on the card the date doesnt appear on visualization, only the total data. if I add the datetime to my filters of that visualization I can only select an actual date to filter by and no LAST or MAX. 

@sagivh , I am not sure I got it. Now I am confused about what you need now. Card visual can show only one value.  So it can be first, last or concatenated value

https://docs.microsoft.com/en-us/dax/concatenatex-function-dax

 

For more values, you have to choose other visual like table, charts or maybe multi-KPI

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
VijayP
Super User
Super User

@sagivh 

Try using  = LASTDAY(date column in your data).

Please let me if this is a solution for your question and please mention this as solution and give your Kudos

Regards

Vijay Perepa

Watch my Power BI Tutorial Videos at  Vijay Perepa-A MEET Z Tech




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Tahreem24
Super User
Super User

Take the card with whatever your trend value and set the "Max" by clicking on the trend column from the data field.
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
sagivh
Microsoft Employee
Microsoft Employee

Thank you very much for a quick reply. so if i select the last day its an actual date, and the next day it will stay one day behind... 

Based on the filter context it takes last of that period and if no filter then it takes the latest date.

And its dynamic based on incremental data




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.