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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
a__miller
Frequent Visitor

Filter showing multiple values

Hi, the filter is showing multiple values when it is only supposed to show the value when the Week Offset equals 0. Is there something wrong with the measure?

 

a__miller_0-1655930141813.png

 

4 REPLIES 4
a__miller
Frequent Visitor

Thank you for your replies! 

 

@Ashish_MathurFical Year, Week offset and Period have been dragged from the Calendar Table, and there is a One to Many Relationship between the Calendar Date Column and the Date Column in the Backlog table. 

 

@flath , The Updated Past Due Backlog measure's goal is to filter Cumulative Past Due Backlog into the current Fiscal Period (Currently in Period 6).  Below is a snapshot of the values that feed the Updated Past Due Backlog Measure. Here is the Cumulative Past Due Backlog Measure.  The values are only duplicated within the current period, and are filtered out of other fiscal periods. 

 

WHSL Cumulative Past Due Backlog =
CALCULATE(
    [WHSL - Past Due Open Backlog],
    FILTER(
        ALLSELECTED('Calendar'[Date]),
        ISONORAFTER('Calendar'[Date], MAX('Calendar'[Date]), DESC)
    )
)

 

a__miller_0-1655994399188.png

 

 

Unfortunately, adding FILTER in the measure creates an error

a__miller_1-1655998900263.png

 

 

 

Hi,

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

Ensure that Fical Year, Week offset and Period have all been dragged from the Calendar Table.  There should be a relationship (Many to One and Single) between the Date column of the Data Table to the Date column of the Calendar Table.  You may simplify your measure to:

= CALCULATE([Cumulative Past Due Backlog - WHSL],'Calendar'[Week Offset]=0)

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
flath
Helper II
Helper II

Hi, @a__miller ,

 

I can figure out two possibilities:

1. The measure "Cumulative Past Due Backlog - WHSL" was written with REMOVEFILTERS() ou ALL().
In this case, instead of filtering the measure using a boolean expression, you could use it inside a FILTER as following:

CALCULATE( [Cumulative Past Due Backlog - WHSL], FILTER( 'Calendar'[Week Offset] IN {0})

 

2. The relationship between table 'Calendar' and the table from where the values of the measure "Cumulative Past Due Backlog - WHSL" come from is broken or need to be edited.

 

Regards

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.