Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Solved! Go to Solution.
I think I understand now. Maybe a SWITCH function? Like..
Sum Of Flags =
VAR A_flags = SUM( 'Table2'[Col1] )
VAR B_flags = SUM( 'Table2'[Col2] )
VAR C_flags = SUM( 'Table2'[Col3] )
VAR ColV_filter = MAX( 'Table1'[ColV] )
RETURN
SWITCH(
TRUE() ,
ColV_filter = "A" , A_flags ,
ColV_filter = "B" , B_flags ,
ColV_filter = "C" , C_flags ,
BLANK()
)
I think I understand now. Maybe a SWITCH function? Like..
Sum Of Flags =
VAR A_flags = SUM( 'Table2'[Col1] )
VAR B_flags = SUM( 'Table2'[Col2] )
VAR C_flags = SUM( 'Table2'[Col3] )
VAR ColV_filter = MAX( 'Table1'[ColV] )
RETURN
SWITCH(
TRUE() ,
ColV_filter = "A" , A_flags ,
ColV_filter = "B" , B_flags ,
ColV_filter = "C" , C_flags ,
BLANK()
)
Hi, Thank you for your assistance!
Is there a relationship between the two tables?
yes, many to many
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
73 | |
56 | |
38 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |