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
Anonymous
Not applicable

Show selected month in card next to graph

Hi!

I have a dashboard with a graph of all months and I want the cards next to it showing the selected month.

How do I do that?

 

I use this time slicer:

filter.PNG

So in this example I want to see the graph from jan 2016 to sept 2017 and the card showing the value in sept 2017.

 

Even more challenging, my table has 3 time perspectives: month, quarter and year.

When I select perspective quarter, I select a quarter (e.g 2017 Q1) and when I select month, I select a month (eg. 201703). 

table structure.jpg

BTW. my table is actually not aggregated as above, it has a usernumber included.

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Well, for the first case, you should be able to use a measure that utilizes the MAX function. Not sure I understand your second use case.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

In addition, you may take a look at SELECTEDVALUE Function.

https://www.sqlbi.com/articles/using-the-selectedvalue-function-in-dax/

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Super User
Super User

Well, for the first case, you should be able to use a measure that utilizes the MAX function. Not sure I understand your second use case.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

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.