Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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.
Solved! Go to 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
Proud to be a Super User!
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.
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))
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
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
Proud to be a Super User!
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
Proud to be a Super User!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
93 | |
89 | |
83 | |
75 | |
49 |
User | Count |
---|---|
142 | |
140 | |
110 | |
69 | |
55 |