March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi good day, can anyone help me on how can i incorporate the filter i need on the table i summarized.
Solved! Go to Solution.
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,
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]))
)
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,
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |