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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
NJCLIFFORD
Frequent Visitor

Dashboard dynamic filter

Howdy all,

Have created a dashboard with a heap of KPI's on it.

Most are monthly, and work easy - have column chart viz and the latest colum represents the current month. ALso on each KPI have the latest months acutal value displayed also in a card visulizationCapture.JPG

 

Question 1: can you limit how many columns are shown on the vizualisation?  I am currently going in and manually selecting the last 8 months to show.

 

There are a few of the KPI's that are weekly - now to show the latest column here is what I am having trouble with.  I am currently having to go into the viz, change the columns shown (similar to above), but then also changing the filter on the actual value (with monthly one I just set to current month, not possible here).

 

Question 2: Is there any way I can get that to update the Card Viz with the latest value?

 

Thanks


Nick

1 REPLY 1
amitchandak
Super User
Super User

@NJCLIFFORD , You can use, relative date slicer, TOPN filter, TOPN measure.

 

You can use numeric parameters in TOPN

TOPN: https://youtu.be/QIVEFp-QiOk
TOPN with Numeric Parameter -https://youtu.be/cN8AO3_vmlY?t=26448

 

If that latest value of Date or time, we need measure

 

Like for date

new measure =
var _max = maxx(allselected(Date),Date[Date])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] =_max))

 

for month MTD will show max month, based on the selection

MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.