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
Hello Team,
I need to convert the qlik Expression to dax.
2 table in power BI
Table Fact
Table combination
ColorNumber field from Fact table
RegrindColorNumber field from combination table
_RegrindStartingInventory field from combination table
below is the Qlik Expression
Sum(distinct if(left(ColorNumber,1)=left(RegrindColorNumber,1),_RegrindStartingInventory,0))
I have tried converting into DAX but result is not matching.
Solved! Go to Solution.
Hi @Anonymous ,
Please try this:
SUMX(
FILTER(
'combination table',
LEFT( [RegrindColorNumber], 1 ) = LEFT( 'Fact table'[ColorNumber], 1 )
),
_RegrindStartingInventory
)
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please try this:
SUMX(
FILTER(
'combination table',
LEFT( [RegrindColorNumber], 1 ) = LEFT( 'Fact table'[ColorNumber], 1 )
),
_RegrindStartingInventory
)
Best Regards
Community Support Team _ chenwu zhu
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 |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 7 | |
| 6 | |
| 6 |