@Hemant_Jaiswar ,
Create the following measures to calculate the totals and LFL (Like-for-Like) sales.
Total 2023 Sales = SUM('Sales'[2023 Sales])
Total 2024 Sales = SUM('Sales'[2024 Sales])
LFL 2023 Sales =
CALCULATE(
SUM('Sales'[2023 Sales]),
FILTER(
'Sales',
NOT(ISBLANK('Sales'[2023 Sales])) && NOT(ISBLANK('Sales'[2024 Sales]))
)
)
LFL 2024 Sales =
CALCULATE(
SUM('Sales'[2024 Sales]),
FILTER(
'Sales',
NOT(ISBLANK('Sales'[2023 Sales])) && NOT(ISBLANK('Sales'[2024 Sales]))
)
)
Go to the "Visualizations" pane and select the "Table" visualization.
Drag the "Month" column to the table.
Drag the measures you created (Total 2023 Sales, Total 2024 Sales, LFL 2023 Sales, LFL 2024 Sales) to the table.
Did I answer your question? Mark my post as a solution! And Kudos are appreciated |
Proud to be a Super User! | |