Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
How can I create a column that will flag (Y/N) transactions which contain a specific product? I want to be able to use this column as a filter in the reports.
Thank you in advance!
Solved! Go to Solution.
@my2quarters Maybe:
Column =
VAR __Trans = [Transaction Number]
VAR __TransTable = SELECTCOLUMNS(FILTER('Table',[Transaction Number]=__Trans),"__Product",[Product Name])
RETURN
IF("SPECIAL PRODUCT" IN __TransTable,"Y","N")
@my2quarters Maybe:
Column =
VAR __Trans = [Transaction Number]
VAR __TransTable = SELECTCOLUMNS(FILTER('Table',[Transaction Number]=__Trans),"__Product",[Product Name])
RETURN
IF("SPECIAL PRODUCT" IN __TransTable,"Y","N")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |