Forum Discussion
Excel Index match in DAX
Hi,
Write this calculated column formula
=CALCULATE(SUM(Data[Months Cover]),FILTER(Data,Data[Fiscal Month]=EARLIER(Data[Reporting Month])))
Hope this helps.
- hari_bi8 years ago
Helper I
Hi
Thanks for your replay.
https://www.dropbox.com/s/lnvnttc4tvmiq7k/Local%20Copy%20R%26D.pbix?dl=0
Please find the Index Match page, my query is available on table visual.
Months Cover will avaialebe in Depletions Table and months cover is a calcualted measure not a base measure.
Fiscal Month (Fiscal Month) available in Date table
Reporting Month available on Forecast Date table.
Thank you
Hari.
- Ashish_Mathur8 years ago
Super User
Hi,
I would like to help but am unable to because of the confusion caused by so many other Tables in your file. Just share only as much information as is necessary to solve the problem. Remove the unwanted Tables/relationships and only share the tables which are required for solving the problem.
- hari_bi8 years ago
Helper I
Hi Ashish Mathur,
Thanks for your replay.
Please find the below path cleaned "Excel Index Match"PBI file.
https://www.dropbox.com/s/ov3gh5i0jpapshv/Excel%20Index%20Match.pbix?dl=0
Thank you.
Hari.