cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
reportdeveloper Frequent Visitor
Frequent Visitor

Custom Current Selection

Hi All,

 

Can someone please us that the below is possible in power bi or not?

 

Selection.PNG

5 REPLIES 5
Community Support Team
Community Support Team

Re: Custom Current Selection

Hi @reportdeveloper 

When filtering on "fulldatekey" in the slicer, you want to get a column/measure "Time selection", right?

Please tell me more details so to analyze for you.

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
reportdeveloper Frequent Visitor
Frequent Visitor

Re: Custom Current Selection

@v-juanli-msft 

 

Thanks for the reply, we need a measure..

Community Support Team
Community Support Team

Re: Custom Current Selection

Hi @reportdeveloper 

As tested, it seems impossible.

When selecting 2005/1/1~2006/8/29, i can only get all selected years and selected months.

Capture1.JPG

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support Team
Community Support Team

Re: Custom Current Selection

Hi @reportdeveloper 

I find a workaround.

Create a measure

Measure = IF(ISBLANK(DISTINCTCOUNT('calendar'[Date])),BLANK(),MAX('calendar'[month name]))

Add it in the value field of the matrix, add "month name" from "calendar table" to the matrix.

Capture11.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support Team
Community Support Team

Re: Custom Current Selection

Hi @reportdeveloper 

This is my pbix.

 

Best Regards

Maggie

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)