Forum Discussion
Count with Filter Measure
- 4 years ago
Hi nutyfreshz ,
Sorry, i made a mistake. I didn't realize that the [Total clicks(current)] and [Total clicks(lsmonth)] are measure.
If possible, you can change these measures to column, or summarize function to create a template table. Or please share your pbix file without sensitive data.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi nutyfreshz ,
You can should try to add function like selectedvalue() or max() after "field name >=", like the highlighting code.
Measure = CALCULATE(DISTINCTCOUNT('villa_040322'[lineLog]),FILTER('villa_040322','villa_040322'[Total clicks(current)]>=selectedvalue('villa_040322'[Total clicks(lstmonth)]))
If it does not work, please share your pbix file without sensitive data.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Select value working with Cols but
[Total clicks(current)] & [Total clicks(lstmonth)]
These are measure not cols. any idea?
Thank you.
- v-chenwuz-msft4 years agoCommunity Support
Hi nutyfreshz ,
Sorry, i made a mistake. I didn't realize that the [Total clicks(current)] and [Total clicks(lsmonth)] are measure.
If possible, you can change these measures to column, or summarize function to create a template table. Or please share your pbix file without sensitive data.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- nutyfreshz4 years agoFrequent Visitor
I think I need to create a new table with summarizing and join then filter as column.
I will try, thanks for the solution. I will send pbix file in dm.
Thank you so much.