cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WolfX2 Helper I
Helper I

Ignore page date filter, allow matrix with rows of different set of dates.

Hi everyone!

 

I have a page filter filtering dates for the prior 12 calandar weeks on my date table, but i also have a matrix visual that looks 14 days forward, so i'd like to ignore this page filter AND allow the future 14 days to show in this matrix, so it would look like the following:

 

DateQty
3/16/20201
3/17/20202
3/18/202012
3/19/20204
3/20/20205
3/21/202085
3/22/202045
3/23/20206
3/24/202024
3/25/20207
3/26/202012
3/27/202019
3/28/202020
3/29/202030
3/30/202040
3/31/202015

 

Right now im using the following measure, but i am currently getting a matrix with no rows.

 

 

Qty = calculate(sum(MarsAgentAvailability[RemainingAvalHrs]),filter(DimFisCal,DimFisCal[DAY]>=today() && DimFisCal[DAY]<=today()+14),all(DimFisCal[DAY]))

 

 

Is there any way i could modify this measure to allow the 14 days to show?

 

Thanks!

 

3 REPLIES 3
Super User IV
Super User IV

Re: Ignore page date filter, allow matrix with rows of different set of dates.

@WolfX2 

Try like

Qty = calculate(sum(MarsAgentAvailability[RemainingAvalHrs]),
filter(all(DimFisCal),DimFisCal[DAY]>=today() && DimFisCal[DAY]<=today()+14))

 





Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
In case it does not help, please provide additional information and mark me with @
My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP,
HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Super User! Linkedin


WolfX2 Helper I
Helper I

Re: Ignore page date filter, allow matrix with rows of different set of dates.

@amitchandak Hi! Thanks for your reply!
While this option did give me rows, it doesnt seem like it understands to filter in the context of date within the matrix anymore, as it just gives me the same value for each date.

 

matrix.JPG

 

Community Support
Community Support

Re: Ignore page date filter, allow matrix with rows of different set of dates.

@WolfX2 ,

 

Could you please share the complete sample data? For example, the [RemainingAvalHrs] and [DAY] columns.

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors