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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.