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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
krrish116
Resolver II
Resolver II

Show only present Month Data before selection..

Hi @amitchandak ,

Please help me to sort it out..

I had a table with 4 columns  

Date                    Site           Sceneario      Position

20-02-2021         CP             Referral           80

22-02-2021         OP             Gifferal            75

01-03-2021         GP             Referral            24

02-03-2021         QP            Coferral             43

 

We are showing data in 2 graphs

in first graph

Im showing 

Date on Axis

Scenario on Legend

Position on Values

 

in Second graph

Im showing

Site on Shared Axis 

Position on Column Values

 

Now in the Second Graph i have to show only present month data and if i select any date in first graph then it has to change based on the date selection in first graph..

 

Please get back to me to do this.

Thanks,

Krish...

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@krrish116 , is filtered should help

Assume MTD using the Date table

 

All measures below

 

measure = SUM(Table[position])

MTD = CALCULATE([measure],DATESMTD('Date'[Date]))

 

if(isfiltered(Date[Date]), [measure],[MTD])

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@krrish116 , is filtered should help

Assume MTD using the Date table

 

All measures below

 

measure = SUM(Table[position])

MTD = CALCULATE([measure],DATESMTD('Date'[Date]))

 

if(isfiltered(Date[Date]), [measure],[MTD])

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.