This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi
I have 3 visuals on a page, 2 has trend informaton so the date filters range over a few months. The last visual I only want to display data from the latest month of the available dataset.
1. How can I filter the one visual to only show the latest month's worth of data. ie. If it's currently Oct 2021, but in my dataset the last month of data I have is May 2021, I want it to display May 2021 data.
2. How do I then also display it as Mon YYYY on a card visual (ie. May 2021)
Thanks!
Solved! Go to Solution.
@nsaray , You need use the first column in date table and select last month in slicer
Month Type = Switch( True(),
eomonth([Date],0)= eomonth(maxx((Table), Table[Date]),0), "Last Month" ,
Format([Date],"MMM-YYYY")
)
You can use this measure to displat last month
last month = format(maxx(allselected(Table), Table[Date]), "MMMM-YYYY")
@nsaray , You need use the first column in date table and select last month in slicer
Month Type = Switch( True(),
eomonth([Date],0)= eomonth(maxx((Table), Table[Date]),0), "Last Month" ,
Format([Date],"MMM-YYYY")
)
You can use this measure to displat last month
last month = format(maxx(allselected(Table), Table[Date]), "MMMM-YYYY")
Perfect, thank you!!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 23 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 24 | |
| 22 | |
| 22 |