Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
i want to calculate the 3 months reiteration or consecutive presence of row in a table. The table is like this.
Name | data | Month |
ABDOU LATIF | 0 | déc-21 |
ALEXIS | 1 | déc-21 |
ALEXIS | 6 | janv-22 |
Assetou | 2 | juil-22 |
ANAIS | 3 | nov-21 |
ANAIS | 4 | févr-22 |
Benoit | 6 | févr-22 |
Benoit | 7 | juil-22 |
ANAIS | 0 | juil-22 |
BASTIEN | 7 | janv-22 |
BENOIT | 2 | janv-22 |
BENOIT | 4 | févr-22 |
BEATRICE | 7 | juin-22 |
BEATRICE | 4 | juil-22 |
BOUSLINE | 4 | août-22 |
BOUSLINE | 7 | sept-22 |
BOUSLINE | 7 | juil-22 |
BARBARA | 1 | déc-21 |
BARBARA | 1 | févr-22 |
BARBARA | 1 | juil-22 |
Agathe | 0 | déc-21 |
Agathe | 1 | janv-22 |
Agathe | 2 | févr-22 |
Agathe | 0 | avr-22 |
Beatrice | 5 | juil-22 |
Armandine | 2 | déc-21 |
Armandine | 4 | août-22 |
ANTHONY | 2 | mai-22 |
ANTHONY | 5 | juin-22 |
Alain | 1 | janv-22 |
Claude | 0 | avr-22 |
The result i want :
Name | 3 months consecutive |
ABDOU LATIF | 0 |
ALEXIS | 1 |
Assetou | 0 |
ANAIS | 0 |
Benoit | 0 |
ANAIS | 0 |
BASTIEN | 0 |
BENOIT | 1 |
BEATRICE | 1 |
BOUSLINE | 1 |
BARBARA | 0 |
Agathe | 1 |
Agathe | 0 |
Beatrice | 0 |
Armandine | 0 |
ANTHONY | 1 |
Alain | 1 |
Claude | 0 |
i don't jnow if it s better to do this with a PBI measure or with power query.
Thx in advance for your answers
Solved! Go to Solution.
Power Quey is essentially for data shaping/cleansing rather than analytic calculation.
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Power Quey is essentially for data shaping/cleansing rather than analytic calculation.
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
@krimionn23 , I have video on similar topic, see if that can help
Power BI- Customer Purchasing in each of the last 3 months: https://youtu.be/bGtjoccEA38
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
93 | |
60 | |
43 | |
35 | |
34 |