Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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!!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
84 | |
49 | |
38 | |
28 |
User | Count |
---|---|
188 | |
76 | |
73 | |
54 | |
42 |