Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello
Thank you for your time.
I have an issue and would really appreciate your input.
I have two table 1) Budget data 2) P&L data
The relationship is on the codes .i.e 1001, 1002
My issue is that if within the P&L there is no value against a code the Budget value does not update. I have manually enter the data for a code that has no actual, but has a budget value. But this is time consuming.
Is there a way that I can say if a code has a budget value but no actual (from the P&L table) show this?
Your help is greatly appreciated.
Kindest
Alice
Solved! Go to Solution.
Hi @Adavin
Can you try creating calculated table
Dim Code =
DISTINCT(UNION(
SELECTCOLUMNS(
'Budget Finanancials Live 24-25 (24-25)',
"Code",'Budget Finanancials Live 24-25 (24-25)'[Detail Code]),
SELECTCOLUMNS(
'P&L',"Code",
'P&L'[Group1_Code])))
Create relationship between Dim Code table to Budget and P&L table with one to many relationship
Create a separate dimension table for all unique codes and use it to connect both the Budget and P&L tables.
Dim Code =
DISTINCT (
UNION (
SELECTCOLUMNS (
'Budget Financials Live 24-25 (24-25)',
"Code", 'Budget Financials Live 24-25 (24-25)'[Detail Code]
),
SELECTCOLUMNS (
'P&L',
"Code", 'P&L'[Group1_Code]
)
)
)Then create:
Finally, use the Code field from the Dim Code table in your visuals. This allows Power BI to show codes that have:
You may also need to enable Show items with no data in the visual.
Hi @Adavin
Can you try creating calculated table
Dim Code =
DISTINCT(UNION(
SELECTCOLUMNS(
'Budget Finanancials Live 24-25 (24-25)',
"Code",'Budget Finanancials Live 24-25 (24-25)'[Detail Code]),
SELECTCOLUMNS(
'P&L',"Code",
'P&L'[Group1_Code])))
Create relationship between Dim Code table to Budget and P&L table with one to many relationship
Use the standard "Show items with no data" feature.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.