I hope this illustrates what I would like to do i fist have a virtual table filtered for just green products, and then a second
for just red , I would like to filter the second table to show only customers or whatever that are contained in the first;
EVALUATE
VAR ttable =
CALCULATETABLE (
SUMMARIZE ( Table1, Table1[Customer], Table1[Product], Table1[Color] ),
Table1[Color] IN { "Red" }
)
VAR ttabletwo =
CALCULATETABLE (
SUMMARIZE ( Table1, Table1[Customer], Table1[Product], Table1[Color] ),
Table1[Color] IN { "Green" }
)
RETURN
ttabletwo
So this ttabletwo should be filtered to only those customers who appear in ttable,
I'm stuck on even the syntax and can't find much information about how I can refer to the first table I've tried
various such as ttable [Customer] , "Customer" etc. So direction to any information on this would be helpful.
Richard.
for just red , I would like to filter the second table to show only customers or whatever that are contained in the first;
EVALUATE
VAR ttable =
CALCULATETABLE (
SUMMARIZE ( Table1, Table1[Customer], Table1[Product], Table1[Color] ),
Table1[Color] IN { "Red" }
)
VAR ttabletwo =
CALCULATETABLE (
SUMMARIZE ( Table1, Table1[Customer], Table1[Product], Table1[Color] ),
Table1[Color] IN { "Green" }
)
RETURN
ttabletwo
So this ttabletwo should be filtered to only those customers who appear in ttable,
I'm stuck on even the syntax and can't find much information about how I can refer to the first table I've tried
various such as ttable [Customer] , "Customer" etc. So direction to any information on this would be helpful.
Richard.