Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi, I am trying to count claims by reporting period (want to compare between current and last period),
I have a column Current Reporting Period and Prev Reporting Period, I wrote the following expression
CountOfClaimPrev = calculate(count(ClaimFactsStag[ClaimNbr]),ClaimFactsStag[PrevReportingPeriod])
But it shows me the same value as current report whe I put it in my table
Please Help
Solved! Go to Solution.
You may refer to measure below.
Measure = VAR prev = SELECTEDVALUE ( ClaimFactsStag[PrevReportingPeriod] ) RETURN CALCULATE ( COUNT ( ClaimFactsStag[ClaimNbr] ), ClaimFactsStag[ReportingPeriod] = prev, ALLSELECTED ( ClaimFactsStag ) )
You may refer to measure below.
Measure = VAR prev = SELECTEDVALUE ( ClaimFactsStag[PrevReportingPeriod] ) RETURN CALCULATE ( COUNT ( ClaimFactsStag[ClaimNbr] ), ClaimFactsStag[ReportingPeriod] = prev, ALLSELECTED ( ClaimFactsStag ) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
99 | |
68 | |
44 | |
37 | |
29 |
User | Count |
---|---|
156 | |
92 | |
62 | |
44 | |
41 |