The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Is it possible to factor an ANTI JOIN inside GENERATE. I am currently doing this
EVALUATE
VAR __fact =
DATATABLE (
"fact.fact", STRING,
{
{ "a Messi" },
{ "aaa Messi" },
{ "ababa Pele" },
{ "ababan Diego" },
{ "xyz Crisitiano" },
{ "yyy Ronaldo" },
{ "Messi aaa" }
}
)
VAR __exec =
DATATABLE (
"exec.name", STRING,
{
{ "Messi" },
{ "Crisitiano" },
{ "Ronaldo" }
}
)
VAR res =
FILTER (
__fact,
NOT ( [fact.fact] )
IN SUMMARIZE (
GENERATE (
__exec,
FILTER (
__fact,
VAR one =
LEN ( [exec.name] )
VAR two =
RIGHT ( [fact.fact], one )
RETURN
two = [exec.name]
)
),
[fact.fact]
)
)
RETURN
res
I want to avoid
Solved! Go to Solution.
How about this?
res =
FILTER (
__fact,
ISEMPTY (
FILTER (
__exec,
RIGHT ( [fact.fact], LEN ( [exec.name] ) ) = [exec.name]
)
)
)
How about this?
res =
FILTER (
__fact,
ISEMPTY (
FILTER (
__exec,
RIGHT ( [fact.fact], LEN ( [exec.name] ) ) = [exec.name]
)
)
)
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
77 | |
71 | |
48 | |
39 |
User | Count |
---|---|
137 | |
108 | |
69 | |
64 | |
58 |