Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi, I use to work with data from two different reporting dates in my data model based on the underlying data structure in our database. I have implemented a logic which takes 2023 delivery volumes from report date 31.12.2023 (as this data will not be 100% available in latest report date) and latest report date for >= 2024 deliveries. Here is how it looks in Excel and should be look in PBI as well:
For some reason, the highlighted sum is not shown in PBI. All the other sums and the detail rows are shown correctly.
Any idea whats wrong here?
I have tried several formulas but non of them fixed this issue.
Formula at the moment:
Solved! Go to Solution.
For your question, here is the method I provided:
The presentation of data in power bi and excel will be different, the style in your screenshot may not be possible, but I have another way for your reference.
Here's some dummy data
“Table”
Create a new table.
Table 2 =
UNION(
SELECTCOLUMNS(
'Table',
"type", 'Table'[type],
"type_pay", 'Table'[type_pay],
"year", 'Table'[year],
"value",SWITCH(TRUE(), 'Table'[year] = 2023, 'Table'[value], 'Table'[year] <> 2023, 0)),
SELECTCOLUMNS(
'Table',
"type", "_" & 'Table'[type],
"type_pay", 'Table'[type_pay],
"year", 'Table'[year],
"value",SWITCH(TRUE(), 'Table'[year] = 2023, BLANK(), 'Table'[year] <> 2023, 'Table'[value]))
)
You can get the table like this.
Create a matrix.
Here is the result.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
For your question, here is the method I provided:
The presentation of data in power bi and excel will be different, the style in your screenshot may not be possible, but I have another way for your reference.
Here's some dummy data
“Table”
Create a new table.
Table 2 =
UNION(
SELECTCOLUMNS(
'Table',
"type", 'Table'[type],
"type_pay", 'Table'[type_pay],
"year", 'Table'[year],
"value",SWITCH(TRUE(), 'Table'[year] = 2023, 'Table'[value], 'Table'[year] <> 2023, 0)),
SELECTCOLUMNS(
'Table',
"type", "_" & 'Table'[type],
"type_pay", 'Table'[type_pay],
"year", 'Table'[year],
"value",SWITCH(TRUE(), 'Table'[year] = 2023, BLANK(), 'Table'[year] <> 2023, 'Table'[value]))
)
You can get the table like this.
Create a matrix.
Here is the result.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 54 | |
| 47 | |
| 38 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 83 | |
| 71 | |
| 38 | |
| 28 | |
| 25 |