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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
schoden
Post Partisan
Post Partisan

multiple values was supplied for single value error

Hi All, 

 

I couldnt get a better solution to return multiple values.

I want to return all of  employee names , filter date of join as this month 

 

New measure= CALCULATE(VALUES [emp name], MONTH(date)= MOnth(Today()))

 

error : multiple values supplied error.

I tried using MAX, FIRSTNONBLANK, SELECTEDVALUE = all same error. 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @schoden ,

 

Do you want a visual or a table?

If you want a visual, please create a measure like below and add it to visual filter.

Measure = IF(MONTH(SELECTEDVALUE('Table'[date]))=MONTH(TODAY()),1,0)

2.PNG

If you want a tbale, please check the formula below.

Table 2 = FILTER('Table',MONTH('Table'[date])=MONTH(TODAY()))

3.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

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

7 REPLIES 7
Anonymous
Not applicable

Hi @schoden ,

 

Do you want a visual or a table?

If you want a visual, please create a measure like below and add it to visual filter.

Measure = IF(MONTH(SELECTEDVALUE('Table'[date]))=MONTH(TODAY()),1,0)

2.PNG

If you want a tbale, please check the formula below.

Table 2 = FILTER('Table',MONTH('Table'[date])=MONTH(TODAY()))

3.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

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

 

@Anonymous Thanks for your effort:D it solved.    

 

I have another problem :  I want to customise week number from any start date for example;

Date_start  = 29/09/2019,  30/09/2019, 5/10/2019 and so on 

   WeekNum=1,1 ,2  and so on 

 

Please share me your idea . Thanks 

 

 

amitchandak
Super User
Super User

@schoden , You have to use it like this

New measure= CALCULATE(max [emp name], MONTH(date)= MOnth(Today()))

New measure= CALCULATE(count [emp name], MONTH(date)= MOnth(Today()))

 

or use firstnonblank on emp name.

 

If you trying to filter emp name. Use this measure along with emp name in a visual, it will filter it in the visual

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  Hi 

 

Yes I tried all , gives same error 😞

@schoden  ,

 

Could you please share some dummy data to test your scenario if possible.

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

@Tahreem24sorry I dont have dummy data 

@schoden , Please make sure all table column are mentioned correctly

CALCULATE(count(Table [emp name]), MONTH(Table[date])= MOnth(Today()))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.