Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Don´t Convert text to true/false in Calculate

In Calculate, i'm don't can filtering a result.

ERROR: Not is possible convert text value to true/false.

Thanks, for now!

Gustavo035839_0-1673460114304.png

 

2 REPLIES 2
vicky_
Super User
Super User

I think it's because DiasUteis[AnoMes] is a value (e.g. 1 or 0). It can't be used as a filter because it doesn't evaluate to either True or False. If you need to use it as a filter condition for CALCULATE, replace that with FILTER( DiasUteis, DiasUteis[AnoMes] = yourConditionHere).

Else, you will need to go into more detail on what you want to do with that field for anyone to provide more detailed help.

Anonymous
Not applicable

Good afternoon.
I need a formula to calculate a today condition (automatic) in this situation.
*The field "2023-01" it a example an a what i need.*

Gustavo035839_0-1673630687980.png

 

Im using this filter in the card:

Gustavo035839_1-1673630783610.png

 




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors