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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Guerh
Frequent Visitor

count a value on several week

Hi community,

 

I have a table with dates ("Date de RDV")  and some codes "Motif Echec".

For the code R3 (or any other code), i try to count how many "num inter" we have for the last 5 week, each week of the year.

 

To be more precise in my request, here my data and the result I try to have

DATA:

data.PNG

 

 

RESULT:

Guerh_0-1687356625312.png

this result show for example in week 20 (S20) the sum of R3 codes of weeks 20, 19, 18, 17 and 16.

in week 21 (S21), the sum of R3 codes of weeks 21, 20, 19, 18, 17

etc...

 

thanks for your help

Best regards

 

 

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.