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

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
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

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.

 

amitchandak
Super User
Super User

@Anonymous 

Try like

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

 

Anonymous
Not applicable

@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

 

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.

Top Solution Authors