Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
i want to differing values that 1 have in a period, for the next 12 months ahead.
for example:
| Insurance code | Begging date | end data | value (costs) |
| person A | 31/12/2024 | 31/12/2024 | 120 |
| person B | 30/11/2024 | 30/11/2024 | 180 |
What im trying to do is : i want to create 12 lines for each person, 1 for each month (Jan/25, Feb/25, .....until Dec25, with 1/12 of the value that i've, in this case, 120/12 =10e for each month
The same for person B, that should have 15e for each month.
How can i do this using DAX ?
thanks,
JR
Solved! Go to Solution.
You can try in Power Query with the following steps:
You can try in Power Query with the following steps:
Must this be a DAX solution or you can work with PowerQuery. Since, it has to do with extra data, PowerQuery might provide a more viable solution.
i can create in power query the subset data with this data. how can i convert 1 line in 12 lines, 1 per each month in power query ?
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 30 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 70 | |
| 58 | |
| 38 | |
| 22 | |
| 22 |