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
bjw210
Frequent Visitor

Show all dates in a chart when another chart is selected that only contained one date

I need to keep a chart in tact for all periods while filtering the data on the client selected in another chart. 

bjw210_2-1635371999535.png

 

Thought this was the right route but can't get this to work:

 

Disregard Date filter when client is selected = 
CALCULATE(
    SUM(Sheet1[Amount]),
    ALLEXCEPT(Sheet1,Sheet1[Client],Sheet1[Bucket],Sheet1[Date])
)

 

 

 

Example Data (also attached):

RegionClientDateBucketAmount
EastTom10/15/202161-903
EastTom10/15/202161-902
WestJane10/15/202161-901
WestJane10/15/202161-903
EastTom10/15/202191-1801
EastTom10/15/202191-1803
WestJane10/15/202191-1803
WestJane10/15/202191-1803
EastTom10/15/2021181-3603
EastTom10/15/2021181-3602
WestJane10/15/2021181-3602
WestJane10/15/2021181-3603
EastTom10/15/2021361+2
EastTom10/15/2021361+3
WestJane10/15/2021361+1
WestJane10/15/2021361+1
EastTom10/8/202161-902
EastTom10/8/202161-901
WestJane10/8/202161-902
WestJane10/8/202161-902
EastTom10/8/202191-1801
EastTom10/8/202191-1802
WestJane10/8/202191-1802
WestJane10/8/202191-1803
EastTom10/8/2021181-3603
EastTom10/8/2021181-3601
WestJane10/8/2021181-3601
WestJane10/8/2021181-3602
EastTom10/8/2021361+3
EastTom10/8/2021361+2
WestJane10/8/2021361+3
WestJane10/8/2021361+2
EastTom10/1/202161-903
EastTom10/1/202161-901
WestJane10/1/202161-903
WestJane10/1/202161-902
EastTom10/1/202191-1802
EastTom10/1/202191-1801
WestJane10/1/202191-1802
WestJane10/1/202191-1802
EastTom10/1/2021181-3602
EastTom10/1/2021181-3602
WestJane10/1/2021181-3601
WestJane10/1/2021181-3601
EastTom10/1/2021361+2
EastTom10/1/2021361+1
WestJane10/1/2021361+1
WestJane10/1/2021361+1
EastTom9/24/202161-901
EastTom9/24/202161-903
WestJane9/24/202161-903
WestJane9/24/202161-903
EastTom9/24/202191-1802
EastTom9/24/202191-1803
WestJane9/24/202191-1801
WestJane9/24/202191-1802
EastTom9/24/2021181-3603
EastTom9/24/2021181-3603
WestJane9/24/2021181-3601
WestJane9/24/2021181-3602
EastTom9/24/2021361+3
EastTom9/24/2021361+3
WestJane9/24/2021361+1
WestJane9/24/2021361+1
EastTom9/17/202161-902
EastTom9/17/202161-903
WestJane9/17/202161-903
WestJane9/17/202161-903
EastTom9/17/202191-1803
EastTom9/17/202191-1802
WestJane9/17/202191-1801
WestJane9/17/202191-1802
EastTom9/17/2021181-3603
EastTom9/17/2021181-3602
WestJane9/17/2021181-3602
WestJane9/17/2021181-3602
EastTom9/17/2021361+2
EastTom9/17/2021361+3
WestJane9/17/2021361+2
WestJane9/17/2021361+3

 

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @bjw210 ,

 

According to your description, I did the test. It is a problem caused by the hierarchy of the date field. The reference is as follows:

vhenrykmstf_0-1635840207829.png

vhenrykmstf_1-1635840260783.png

Alternatively, you can use the Edit interactions function to filter the specified visuals.

vhenrykmstf_2-1635840436978.png


If the problem is still not resolved, please point it out. Looking forward to your reply.


Best Regards,
Henry


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

View solution in original post

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @bjw210 ,

 

According to your description, I did the test. It is a problem caused by the hierarchy of the date field. The reference is as follows:

vhenrykmstf_0-1635840207829.png

vhenrykmstf_1-1635840260783.png

Alternatively, you can use the Edit interactions function to filter the specified visuals.

vhenrykmstf_2-1635840436978.png


If the problem is still not resolved, please point it out. Looking forward to your reply.


Best Regards,
Henry


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

lbendlin
Super User
Super User

Have you considered disabling interactions for that visual?  That'll give you the required filter exceptions without a need to code them manually.

I did consider that, but i need the Tom or Jane selection to pass to the visuals while not passing the dates. 

 

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.