Forum Discussion
CalculateTable
- 4 years ago
Thanks. The Portfolio of two would be 50% each. I would use the DAX to calculate that. I cannit use Matrix as I want to use that table.
- 4 years ago
Hi VikrantC ,
Actually I'm not very clear about your expected result. By my understanding, I create a table that summarizes categories by date.
Table 2 = ADDCOLUMNS ( VALUES ( 'Table'[Dates] ), "Company", CONCATENATEX ( FILTER ( ALL ( 'Table' ), 'Table'[Dates] = EARLIER ( 'Table'[Dates] ) ), 'Table'[Company], "," ), "Price", SUMX ( FILTER ( ALL ( 'Table' ), 'Table'[Dates] = EARLIER ( 'Table'[Dates] ) ), 'Table'[Price] ) )Get this result.
If this is not your expected result, could you please display the expected result in Excel.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
Hi Kalyj,
Many thanks. It works perfectly.
Hi VikrantC ,
You say previous and percentage change, did you mean for 3/1/2022 Tech1, it should be (1118-1142.8)/1118?
Best Regards,
Community Support Team _ kalyj
- VikrantC4 years agoHelper I
Hi,
I am sorry, I was out of town. Yes, (1,118 - 1142)/1118. Also how does the formula vary on weekly, monthly, quarterly or annual basis based on a "Date" table.
Thanks,