Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
tengo esta tabla origen que muestra un campo con formato texto (string) de los últimos 7 días
sth (string) | fecha |
1A | 18/07/2022 |
1A | 18/07/2022 |
1A | 18/07/2022 |
1A | 18/07/2022 |
1A | 18/07/2022 |
1A | 18/07/2022 |
2B | 19/07/2022 |
3C | 20/07/2022 |
3C | 20/07/2022 |
3C | 20/07/2022 |
4D | 21/07/2022 |
5E | 22/07/2022 |
6F | 23/07/2022 |
6F | 23/07/2022 |
6F | 23/07/2022 |
6F | 23/07/2022 |
6F | 23/07/2022 |
6F | 23/07/2022 |
6F | 23/07/2022 |
6F | 23/07/2022 |
7G | 24/07/2022 |
7G | 24/07/2022 |
7G | 24/07/2022 |
8H | 25/07/2022 |
9L | 26/07/2022 |
9L | 26/07/2022 |
9L | 26/07/2022 |
0M | 27/07/2022 |
0M | 27/07/2022 |
Quisera obtener una medida donde resulte el promedio de los dístinct count por día y este cambie de acuerdo a los útlimos 7 días.
Recuento de sth | fecha |
6 | 18/07/2022 |
1 | 19/07/2022 |
3 | 20/07/2022 |
1 | 21/07/2022 |
1 | 22/07/2022 |
8 | 23/07/2022 |
3 | 24/07/2022 |
1 | 25/07/2022 |
3 | 26/07/2022 |
2 | 27/07/2022 |
29 | sum |
10 | distinctcount of sth |
el resultado a obtener es el siguiente: 29/10 = 2.9
Gracias por sus comentarios
Solved! Go to Solution.
Hi, @Anonymous ;
You could create a measure.
aver = DIVIDE( COUNT('Table'[sth (string)]),DISTINCTCOUNT('Table'[sth (string)]))
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous ;
You could create a measure.
aver = DIVIDE( COUNT('Table'[sth (string)]),DISTINCTCOUNT('Table'[sth (string)]))
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |