Forum Discussion
Filter table rows where Col 1 = Col 2 by DAX
- 7 years ago
Anonymous you can add below red code next to calculation of your flag matching measure
Flag Matching Currencies = <your existing if condition> * DIVIDE( [Total Transaction Value], [Total Transaction Value] )
Anonymous you can add below red code next to calculation of your flag matching measure
Flag Matching Currencies = <your existing if condition> * DIVIDE( [Total Transaction Value], [Total Transaction Value] )
Thanks for the suggestion parry2k! Do you know other way without Lastnonblank?
- parry2k7 years ago
Super User
Anonymousdid you tried what I proposed? You can choose any aggregation function like MAX/MIN or SELECTEDVALUE
- Anonymous7 years agoNot applicable
Anonymous -
As parry2k said, you could use various Aggregate functions. Measures require an aggregation, because they're calculated within a Filter context, and not in the context of a single table row.
In your case, each Visual row filters each of your columns to a single value. Therefore, MIN, MAX, LASTNONBLANK, SELECTEDVALUE all return the same thing.
Cheers!
Nathan
- Anonymous7 years agoNot applicable
I did, and multiple variations work the same way. Thanks for sharing Parry!