Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

filter a virtual table after natualleftoin

why I can't  filter my variable table after I had made a leftjoin to get products without sales.

basically I have my dim_produtcs and fact_sales.

I'm doing  :

SUMMARIZE('dim_products','dim_products'[products])

SUMMARIZE('dim_products', 'dim_products'[programa],"total"
SUM ( 'fact_sale'[value] ))

var f = NATURALLEFTOUTERJOIN(products,sales)

var x= countx(FILTER(f,f[total] = ""),f[products]) 


why I can't use my columns from virtual table, there's no sense.





1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

when you refer the virtual table column, it is no need to add table name

View solution in original post

2 REPLIES 2
wdx223_Daniel
Super User
Super User

when you refer the virtual table column, it is no need to add table name

amitchandak
Super User
Super User

@Anonymous , You can make a left join By adding +0 to a measures

Sales = SUM ( 'fact_sale'[value] )+0

 

Also, you can use this option

ShowItemwithoutdata.JPG

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.