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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
luizahenriques
Frequent Visitor

CONTAINS with virtual tables

I need to use CONTAINS using virtual tables but I don't the better way.

luizahenriques_0-1664890052307.png

This measure must return TRUE of FALSE if the column "Primeiros Caracteres" of  table f_Ciclo (with actived relationship between f_Ciclo(Ciclo) e dCicloAnterior(Ciclo)) is contained in column "Primeiros Caracteres" of  table f_Ciclo ((with actived relationship between f_Ciclo(Ciclo) e dCicloAtual(Ciclo)).

 

In other words, i need to use CONTAINS but with the same table (with different filters). I don't know to do it without to use virtual tables. But CONTAINS doesn't support it.

 

Can you help me, please?

1 REPLY 1
v-xiaotang
Community Support
Community Support

Hi @luizahenriques 

Thanks for reaching out to us.

I'd like to help you, but there's no sample data.  could you share some sample data or .pbix file and the expected output? thanks.

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.