Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Buenas comunidad,
Actualmente tengo el siguiente problema:
Tengo que crear una tabla para un report de Power BI que indique la cantidad de recetas medicas que estuvieron activas cada mes.
Cada receta medica tiene:
Se les considera recetas medicas activas en el periodo que va desde su fecha de inicio hasta su fecha de fin.
¿Como puedo hacer para que la formula me incluya todas las recetas activas por mes? Ejemplo:
Num receta medica | Fecha inicio | Fecha fin | ||
1 | 01/01/2018 | 31/01/2018 | ||
2 | 02/08/2018 | 31/12/2022 | ||
3 | 01/01/2019 | 15/08/2019 | ||
4 | 31/07/2019 | 05/09/2019 | ||
Cantidad de recetas activas | Activas | |||
ene-18 | 1 | Receta 1 | ||
ene-19 | 2 | Receta 2 | Receta 3 | |
ago-19 | 3 | Receta 2 | Receta 3 | Receta 4 |
Debo generar una tabla como esta:
Cantidad de recetas activas | |
ene-18 | 1 |
ene-19 | 2 |
ago-19 | 3 |
------------------------------------------
Good community,
I currently have the following problem:
I have to create a table for a Power BI report that indicates the number of prescriptions that were active each month.
Each prescription has:
A unique id
A start date
An end date
They are considered active medical prescriptions in the period from their start date to their end date.
How can I make the formula include all active recipes per month? Example:
Prescription ID | Start Date | End date | ||
1 | 01/01/2018 | 31/01/2018 | ||
2 | 02/08/2018 | 31/12/2022 | ||
3 | 01/01/2019 | 15/08/2019 | ||
4 | 31/07/2019 | 05/09/2019 | ||
# of Active prescriptions | Actives | |||
jan-18 | 1 | Prescription 1 | ||
jan-19 | 2 | Prescription 2 | Prescription 3 | |
ago-19 | 3 | Prescription 2 | Prescription 3 | Prescription 4 |