Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello,
I have scoured these forums for what seems like an easy solution, and I very well still might be missing something, but I haven't been able to find my answer. Basically, I have a DAX query that's going to contain several VARs and I need to RETURN all of them. No filters, conditions, etc.
My current DAX measure:
 
					
				
		
 
					
				
		
Hi @turp111 ,
A measure can only return one value. If you want to get multiple values, please try concatenating them into a string.
Best Regards,
Wearsky
Thank you! Well, I was putting each category as a VAR in one measure so they all display in my matrix in one 'column' as opposed to separate ones. I did have it this way before but when I added each measure to the Values section it created a new column. I will review your suggestion and give it a try and response later.
hi @turp111
although it is not that much clear for me why you need to write a measure with these variables and why didn't write measure for each of these variables, but this is the solution based on my understanding of your problem.
you can create a table which does not have relationship with other tables. write each variable name in rows and recommend to have ID's like 1,2,3 for each row. for example:
| 1 | Participants Count | 
| 2 | Active plan <1 | 
| 3 | Active plan < 3 | 
then use the second column of this table in your visual and add this to the return of your measure:
if (selectedvalue( new_table(ID) = 1 , _particCount , if (selectedvalue(new_table(ID) = 2 , _planUnder1 , if ( selectedvalue(new_table( ID) =3 , _planUnder3 )))
If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.
 
					
				
				
			
		
| User | Count | 
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |