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.
Hello Guys,
I'm creating a report that calculate the frequency of purchases of a client, and i got 6 categories:
F1 - Client bought 1x time for the last 6 months ( 1 Month )
F2 - Client bought 2x time for the last 6 months ( 2 Months )
F3 - Client bought 3x time for the last 6 months ( 3 Months )
F4 - Client bought 4x time for the last 6 months ( 4 Months )
F5 - Client bought 5x time for the last 6 months ( 5 Months )
F6 - Client bought 6x time for the last 6 months ( 6 Months )
F0 - Client didn't buy anything for the last 6 months
At first i created a Calculated Table that worked just fine, but i couldn't use dinamic dates with calculated table so i created a measure like this:
Parceiro Principal | Medida Fat 1 |
123456 | F0 |
123457 | F1 |
123458 | F0 |
123459 | F0 |
123460 | F2 |
123461 | F3 |
123462 | F0 |
123463 | F1 |
123464 | F5 |
123465 | F6 |
123466 | F1 |
123467 | F1 |
123468 | F4 |
123469 | F4 |
123470 | F0 |
IF i could create sort of a "Virtual Table" And then count the values, can i do that?
Please help me
Hi,
Share the link from where i can download your PBI file. Coud you kinldy ensure that in the PBI file, your Table and column names are in English. Thank you.
Hi @Anonymous ,
Do you want to get the count below?
If it is, please create the measure with the formula below.
Measure = VAR a = SUMMARIZE ( 'Table1', 'Table1'[Parceiro Principal], "Medida", [Medida Fat 1 ] ) RETURN CALCULATE ( COUNTROWS ( a ) )
If you still need help, please share your data sample and your desired output so that we could help further on it.
Best Regards,
Cherry
Thanks for the Help but you are considering that "Medida Fat 1" Is a column, and it's a measure so when i do this, it only count the total of rows and i need the total of each category ( F0, F1, F2, F3, F4, F5, F6 )
I upload a excel DataBase in this Link
https://ufile.io/byykzecs
Hi,
Is this the answer you are expecting? If no, then please let me know what exact results you want for each bucket.
Yes, i need that results plus the F0 clients, whose are the clients who didn't buy anything from the last 6 months
Can you tell me how you did it please?
Have you cross checked all those numbers?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |