Forum Discussion
Error in create measure for filter
- 11 months ago
Hi Frixel
you cant use a column directly in a measure like that.the formula that you have shown in screenshot will work for new column not new measure.
try below :
Filter DC= IF( MAX('ontvangen'[From] )="[email protected]", TRUE(), FALSE() )Filter DC= IF( SELECTEDVALUE('ontvangen'[From] )="[email protected]", TRUE(), FALSE() )Please give Kudos or mark it as solution once confirmed.
Thanks and Regards,
Praful
Hi Frixel
Try Below Measure:
# DC_Filter =
CALCULATE(
COUNTROWS('ontvangen'),
FILTER(
'ontvangen',
[Filter DC] = TRUE()
)
)
Please give kudos or mark it as solution once confirmed.
Thanks and Regards,
Praful
- Frixel11 months ago
Post Prodigy
yes i can create that measure but when i then create the filter in ....ontvangen then this error.
And the 'From' is not inserted by power bi but by myself.
- Praful_Potphode11 months ago
Super User
Hi Frixel
you cant use a column directly in a measure like that.the formula that you have shown in screenshot will work for new column not new measure.
try below :
Filter DC= IF( MAX('ontvangen'[From] )="[email protected]", TRUE(), FALSE() )Filter DC= IF( SELECTEDVALUE('ontvangen'[From] )="[email protected]", TRUE(), FALSE() )Please give Kudos or mark it as solution once confirmed.
Thanks and Regards,
Praful