Forum Discussion
How to lookupvalue two different categories
- 5 years ago
Hi, Gokan
According to your description in the first reply, you can try this calculated table to write the result in table X:
table X = var _filter1= FILTER('Sonuçlar',[Rep]="John Doe"&&[Month]="Jan"&&[Perf. Crit.]="Gelişim Index"&&[Value]<1) var _filter2= FILTER('Sonuçlar',[Rep]="John Doe"&&[Month]="Jan"&&[Perf. Crit.]="Pazar Index"&&[Value]<0.8) return UNION(_filter1,_filter2)And you can get what the table like this:
For the formula in your second reply, I think it don’t have any problem. It’s a good solution.
You can download my test pbix file here
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
plesae try this and combine this one with your current DAX.
Column =
VAR pazar=maxx(FILTER('Table','Table'[Month]=EARLIER('Table'[Month])&&'Table'[Rep]=EARLIER('Table'[Rep])&&'Table'[Perf. Crit.]="Pazar Index"),'Table'[Value])
return if('Table'[Perf. Crit.]="Gelişim Index",if('Table'[Value]<1&&pazar<0.8,'Table'[Value]))
Hello ryan_mayu ,
I think i couldnt make the dax, in my opinion there is mistake here;
Column =
VAR pazar=maxx(FILTER('Table','Table'[Month]=EARLIER('Table'[Month])&&'Table'[Rep]=EARLIER('Table'[Rep])&&'Table'[Perf. Crit.]="Pazar Index"),'Table'[Value])
return if('Table'[Perf. Crit.]="Gelişim Index",if('Table'[Value]<1&&pazar<0.8,'Table'[Value]))
I've solved from another way but is it too long way or the shortcut i'm not sure;
* I've created a column and dax formula is: