This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi all,
I have two tables: SUM table and BR table (*table BR has no records)
So, i want to fill BR table with some values from SUM table and also make some calculations.
How can i achieve the desired output?
Solved! Go to Solution.
Hi @cs141005 ,
You could delete the BR table blank value ,then use the following dax to create new column :
Jan MTD1 =
CALCULATE (
SUM ( 'Sum Table'[Jan] ),
FILTER (
ALL ( 'Sum Table' ),
IF ('BR table'[title] = "Users+New client",
'Sum Table'[title] = "New users"
|| 'Sum Table'[title] = "users" ,
IF (
'Sum Table'[title] = "New users",
'BR table'[title] = "New clients" ,
'Sum Table'[title] = 'BR table'[title]
)
)
)
)
FEB MTD1 =
CALCULATE (
SUM ( 'Sum Table'[Feb] ),
FILTER (
ALL ( 'Sum Table' ),
IF ('BR table'[title] = "Users+New client",
'Sum Table'[title] = "New users"
|| 'Sum Table'[title] = "users" ,
IF (
'Sum Table'[title] = "New users",
'BR table'[title] = "New clients" ,
'Sum Table'[title] = 'BR table'[title]
)
)
)
)
Wish it is helpful for you!
Best Regards
Lucien
Hi @cs141005 ,
You could delete the BR table blank value ,then use the following dax to create new column :
Jan MTD1 =
CALCULATE (
SUM ( 'Sum Table'[Jan] ),
FILTER (
ALL ( 'Sum Table' ),
IF ('BR table'[title] = "Users+New client",
'Sum Table'[title] = "New users"
|| 'Sum Table'[title] = "users" ,
IF (
'Sum Table'[title] = "New users",
'BR table'[title] = "New clients" ,
'Sum Table'[title] = 'BR table'[title]
)
)
)
)
FEB MTD1 =
CALCULATE (
SUM ( 'Sum Table'[Feb] ),
FILTER (
ALL ( 'Sum Table' ),
IF ('BR table'[title] = "Users+New client",
'Sum Table'[title] = "New users"
|| 'Sum Table'[title] = "users" ,
IF (
'Sum Table'[title] = "New users",
'BR table'[title] = "New clients" ,
'Sum Table'[title] = 'BR table'[title]
)
)
)
)
Wish it is helpful for you!
Best Regards
Lucien
@cs141005
You need to create a new table with the following code:
BR Table =
UNION(
'SUM TABLE',
ROW( "Title", {"New Users + Users"},"Jan", CALCULATE(SUM('SUM TABLE'[Jan]),'SUM TABLE'[Title] IN {"New Users", "Users"})
,"Feb", CALCULATE(SUM('SUM TABLE'[Feb]),'SUM TABLE'[Title] IN {"New Users", "Users"}))
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 40 | |
| 39 | |
| 32 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 75 | |
| 61 | |
| 34 | |
| 30 | |
| 25 |