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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AllanBerces
Post Prodigy
Post Prodigy

Summarize and Filter

Hi good day, can anyone help me on how can i incorporate the filter i need on the table i summarized.

 

Summarized_Progress =SUMMARIZE(
'PROGRESS',
'PROGRESS'[Column1],
'PROGRESS'[Column2] ,
'PROGRESS'[Sub] ,
'PROGRESS'[Column4] ,
'PROGRESS'[Week No.] ,
'PROGRESS'[Year] ,
'PROGRESS'[Project] ,
'PROGRESS'[TA] ,
"_Progress", CALCULATE(SUM('PROGRESS'[Earned])))
 
I want to filter: 
    [TA] <>  "Unknown"
        && [Sub]
            IN { "Trade 1", "Trade 2", "Trade 3", "Trade 4" }
                && [Year] = 2024
                && [Week No.] < WEEKNUM ( TODAY () )
 
Thank you
1 ACCEPTED SOLUTION
MNedix
Super User
Super User

Heya,

 

Create a table using the FILTER function. Something like the below:

Summarized_Progress (forum)=
FILTER(
	SUMMARIZE(
		'PROGRESS',
		'PROGRESS'[Column1],
		'PROGRESS'[Column2] ,
		'PROGRESS'[Sub] ,
		'PROGRESS'[Column4] ,
		'PROGRESS'[Week No.] ,
		'PROGRESS'[Year] ,
		'PROGRESS'[Project] ,
		'PROGRESS'[TA] ,
		"_Progress", CALCULATE(SUM('PROGRESS'[Earned])),
		[TA] <>  "Unknown"
        && [Sub]
            IN { "Trade 1", "Trade 2", "Trade 3", "Trade 4" }
                && [Year] = 2024
                && [Week No.] < WEEKNUM ( TODAY () )))

 

If it answered your question please mark it as the solution so others can see it. 

 

Best,



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,

View solution in original post

3 REPLIES 3
elitesmitpatel
Super User
Super User

Code 1 -->
Summarized_Progress =
VAR FilteredData =
FILTER(
'PROGRESS',
[TA] <> "Unknown"
&& [Sub] IN {"Trade 1", "Trade 2", "Trade 3", "Trade 4"}
&& [Year] = 2024
&& [Week No.] < WEEKNUM(TODAY())
)
RETURN
SUMMARIZE(
FilteredData,
'PROGRESS'[Column1],
'PROGRESS'[Column2],
'PROGRESS'[Sub],
'PROGRESS'[Column4],
'PROGRESS'[Week No.],
'PROGRESS'[Year],
'PROGRESS'[Project],
'PROGRESS'[TA],
"_Progress",
CALCULATE(SUM('PROGRESS'[Earned]))
)


Code 2 -->
Summarized_Progress =
SUMMARIZE(
FILTER(
'PROGRESS',
'PROGRESS'[TA] <> "Unknown" &&
'PROGRESS'[Sub] IN { "Trade 1", "Trade 2", "Trade 3", "Trade 4" } &&
'PROGRESS'[Year] = 2024 &&
'PROGRESS'[Week No.] < WEEKNUM(TODAY())
),
'PROGRESS'[Column1],
'PROGRESS'[Column2],
'PROGRESS'[Sub],
'PROGRESS'[Column4],
'PROGRESS'[Week No.],
'PROGRESS'[Year],
'PROGRESS'[Project],
'PROGRESS'[TA],
"_Progress", CALCULATE(SUM('PROGRESS'[Earned]))
)

MNedix
Super User
Super User

Heya,

 

Create a table using the FILTER function. Something like the below:

Summarized_Progress (forum)=
FILTER(
	SUMMARIZE(
		'PROGRESS',
		'PROGRESS'[Column1],
		'PROGRESS'[Column2] ,
		'PROGRESS'[Sub] ,
		'PROGRESS'[Column4] ,
		'PROGRESS'[Week No.] ,
		'PROGRESS'[Year] ,
		'PROGRESS'[Project] ,
		'PROGRESS'[TA] ,
		"_Progress", CALCULATE(SUM('PROGRESS'[Earned])),
		[TA] <>  "Unknown"
        && [Sub]
            IN { "Trade 1", "Trade 2", "Trade 3", "Trade 4" }
                && [Year] = 2024
                && [Week No.] < WEEKNUM ( TODAY () )))

 

If it answered your question please mark it as the solution so others can see it. 

 

Best,



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,

HI @MNedix thank you for the reply, all goods.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.