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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
niteshtrehan89
Helper III
Helper III

Multiple value was supplied where a single value was expected error

Hi All, 

 

I have two tables with me. One is Actual and other is Budget.  I did the append for the two tables using the union and summarize DAX function. 

niteshtrehan89_0-1731666883071.png

I am using the Matrix Visual and created the below measure for the same.

niteshtrehan89_1-1731667163955.png

niteshtrehan89_2-1731667216591.png

When i am expanding it using the + in the matrix visual, then it is showing me the below error message.

niteshtrehan89_3-1731667282802.png

 

need a solution that it should run using the + sign in the matrix visual.

2 ACCEPTED SOLUTIONS
MFelix
Super User
Super User

Hi @niteshtrehan89 ,

 

You cannot use the VALUES and then a = with a single value you need to redo all your syntax to:

 

SELECTEDVALUE(Summary[Header]) = "Asset Avg Balance" && SELECTEDVALUE(Summary[MIS Value]) = "YTD Budget"

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

Bibiano_Geraldo
Super User
Super User

Hi @niteshtrehan89 ,

The issue lies with the VALUES function. It returns a list of distinct values, which can be used for counting, filtering, or summing, but it doesn't provide a single value. In your IF function logic, a single value is expected to evaluate the conditions. I recommend replacing the VALUES function with the SELECTEDVALUE function, which returns a single value if one exists, or BLANK otherwise.

 

I hope this helps! If it does, please mark it as a solution and consider giving a Kudos.

 

You can learn more about VALUES function here 

Thank you!

View solution in original post

2 REPLIES 2
Bibiano_Geraldo
Super User
Super User

Hi @niteshtrehan89 ,

The issue lies with the VALUES function. It returns a list of distinct values, which can be used for counting, filtering, or summing, but it doesn't provide a single value. In your IF function logic, a single value is expected to evaluate the conditions. I recommend replacing the VALUES function with the SELECTEDVALUE function, which returns a single value if one exists, or BLANK otherwise.

 

I hope this helps! If it does, please mark it as a solution and consider giving a Kudos.

 

You can learn more about VALUES function here 

Thank you!

MFelix
Super User
Super User

Hi @niteshtrehan89 ,

 

You cannot use the VALUES and then a = with a single value you need to redo all your syntax to:

 

SELECTEDVALUE(Summary[Header]) = "Asset Avg Balance" && SELECTEDVALUE(Summary[MIS Value]) = "YTD Budget"

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.