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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Niraj_vora0106
Helper III
Helper III

Value / Format function

Hi, community

I have a doubt regarding Values / Format DAX in Power BI Desktop.

 

I'm using 2 Filter functions in a DAX, yes there's a connection between 2 tables ie: Query & OrderMapping

 

below is the DAX code:

Niraj_vora0106_2-1688549743849.png

 

 

I'm getting the following error:

Niraj_vora0106_1-1688549719243.png

 

Please help how do I solve using Value / Format function.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Niraj_vora0106 ,

How about changing the column type here?

vrongtiepmsft_0-1688966637161.png

 

 

Or you can change the number 1 to "1". Then the number 1 is the text type.

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Niraj_vora0106 ,

The error has pointed out that this is because of your data type. Please check if column Queryrespnsibility is of type number.

 

Please check the columns' type.

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

@Anonymous 

 

How can I change QueryResponsibility type to number when the values are in String / Text..?

 

are you trying to say I need to have both values similar? then only multiple Filter conditions will work..??

Anonymous
Not applicable

Hi @Niraj_vora0106 ,

How about changing the column type here?

vrongtiepmsft_0-1688966637161.png

 

 

Or you can change the number 1 to "1". Then the number 1 is the text type.

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

@Anonymous 

 

I'll try changing the Number value from 1 to "1".

Thank you so much for your help!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.