Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi Team, I have a measure,for this measure now i have to add an extra filter with MAX(MonthKey) column.
COUNTROWS(FILTER(ADDCOLUMNS(SUMMARIZE('SVDemo','SVDemo'[NationalIdNo],"Distinctpolicies", DISTINCTCOUNT('SVDemo'[PolicyTypeCd])), "policycount", [Distinctpolicies]), [policycount] =2))
Thak you
Solved! Go to Solution.
Hi @Ulal ,
Please have a try.
measure =
VAR _1 =
MAXX ( ALL ( 'SVDemo' ), 'SVDemo'[MonthKey] )
RETURN
COUNTROWS (
FILTER (
ADDCOLUMNS (
SUMMARIZE (
'SVDemo',
'SVDemo'[NationalIdNo],
"Distinctpolicies", DISTINCTCOUNT ( 'SVDemo'[PolicyTypeCd] )
),
"policycount", [Distinctpolicies],
"amonthy", 'SVDemo'[MonthKey] = _1
),
[policycount] = 2
)
)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Ulal ,
Please have a try.
measure =
VAR _1 =
MAXX ( ALL ( 'SVDemo' ), 'SVDemo'[MonthKey] )
RETURN
COUNTROWS (
FILTER (
ADDCOLUMNS (
SUMMARIZE (
'SVDemo',
'SVDemo'[NationalIdNo],
"Distinctpolicies", DISTINCTCOUNT ( 'SVDemo'[PolicyTypeCd] )
),
"policycount", [Distinctpolicies],
"amonthy", 'SVDemo'[MonthKey] = _1
),
[policycount] = 2
)
)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
86 | |
84 | |
66 | |
62 | |
60 |
User | Count |
---|---|
197 | |
118 | |
108 | |
78 | |
69 |