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.
Hi,
I am looking for a way to create a table like the one below.
I want to create the table on the right from the original data on the left.
The conditions are
-If EndMonth is blank, divide Value evenly by 6 months including the start month.
-If EndMonth exists, the remaining 6 months of equally divided Value is lumped into EndMonth.
I would like to know how to achieve this in both by PowerQuery and by Dax.
I would be grateful if you could tell me how to do either one of them.
Thanks in advance.
Solved! Go to Solution.
@umekuro , Create date based on months. Add 6 months to start date if end date is blank and create a new column
End Date new = if(isblank([End date]), Eomonth([Start Date],6), {end date])
Refer to the file attach of my old work on similar topic
@umekuro , Create date based on months. Add 6 months to start date if end date is blank and create a new column
End Date new = if(isblank([End date]), Eomonth([Start Date],6), {end date])
Refer to the file attach of my old work on similar topic
Thank you.
It's very helpful for me.
If the EndMonth is less than 6 months, the
How do I lump the remaining VALUE in the final month?
BR
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 |
---|---|
116 | |
105 | |
69 | |
67 | |
43 |
User | Count |
---|---|
148 | |
103 | |
103 | |
88 | |
66 |