Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi All,
I have 1 table and the data like this
| Date | Attribute | Value | Index |
| 22/01/2021 | TR1 | 100 | 1 |
| 23/01/2021 | TR1 | 120 | 2 |
| 24/01/2021 | TR1 | 130 | 3 |
| 26/01/2021 | TR1 | 140 | 4 |
| 22/01/2021 | TR2 | 200 | 1 |
| 23/01/2021 | TR2 | 202 | 2 |
| 24/01/2021 | TR2 | 203 | 3 |
| 26/01/2021 | TR2 | 205 | 4 |
I calculate the difference via index by this formula
I want to find YTD and MTD with the same attribute.
@amitchandak
I summarize all the data so all the data is maxed with the unique date in the main table
and marked as a date in a table calendar already.
The output appears like in the picture.
@amitchandak here is the link
https://www.dropbox.com/s/7wm8wg58dq1xyjl/test.pbix?dl=0
I want to calculate the diff between rows by each attribute and then calculate ytd/mtd for each attribute.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.