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! Learn more

Reply
Anonymous
Not applicable

Bug or not?

 
 
Version = SWITCH(
TRUE(),
( SEARCH("7", default[Flowsheet],,0) > 0), MID("7",1,5),
( SEARCH("8", default[Flowsheet],,0) > 0), "My folder", "Ohter software")
 
Too few arguments were passed to the MID function. The minimum argument count for the function is 3.
1 ACCEPTED SOLUTION
Anonymous
Not applicable

I fixed this by using double commas

 

 

MID(default[Flowsheet],9,,5)

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @Anonymous 

looks like bug with the locale. 

im using ";" not "," as delimiter and for its working good

mid("7";1;5)

bytheway, why dont you use LEFT function if you are trying to get first 5 symbols?

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

I fixed this by using double commas

 

 

MID(default[Flowsheet],9,,5)

Helpful resources

Announcements
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!

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.

Top Solution Authors