Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need to show how many transactions have payees from a watch list. There are two files, the monthly transaction file and a watch list containing essentially one field.
I don't know where to start. I have a basic understanding of M and DAX. I know how to use the Advanced Editor. But I'm no programer. just a hack. 😉
Solved! Go to Solution.
Hi @zack,
You can use contains function to check if the value is contained in search table.
Measure:
IsContains = var currItem= LASTNONBLANK('CurrentTable'[ColumnName],[ColumnName]) return CONTAINS(SearchTable,SearchTable[ColumnName],currItem)
Then drag above measure and the watch item column to a table visaul.
Regards,
Xiaoxin Sheng
Hi @zack,
You can use contains function to check if the value is contained in search table.
Measure:
IsContains = var currItem= LASTNONBLANK('CurrentTable'[ColumnName],[ColumnName]) return CONTAINS(SearchTable,SearchTable[ColumnName],currItem)
Then drag above measure and the watch item column to a table visaul.
Regards,
Xiaoxin Sheng
Is the second file the watch list?
Yes.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |