Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
desired output
Month Total 2023 Total 2024 LFL 2023 LFL 2024
| Jan | 20 | 35 | 20 | 27 |
| Feb | 21 | 31 | 21 | 22 |
| Mar | 20 | 37 | 20 | 28 |
| Apr | 32 | 33 | 12 | 33 |
data
Month Store 2023 Sales 2024 Sales
| Jan | S23 | 10 | 12 |
| Jan | S24 | 10 | 15 |
| Jan | S25 | (blank) | 8 |
| Feb | S23 | 12 | 11 |
| Feb | S24 | 9 | 11 |
| Feb | S25 | (blank) | 9 |
| Mar | S23 | (blank) | 9 |
| Mar | S24 | 15 | 18 |
| Mar | S25 | 5 | 10 |
| Apr | S23 | 20 | (blank) |
| Apr | S24 | 2 | 21 |
| Apr | S25 | 10 | 12 |
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.
Proud to be a Super User! |
|
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 61 | |
| 45 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 108 | |
| 107 | |
| 39 | |
| 30 | |
| 26 |