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
longyu68
Regular Visitor

A measure use dynamic array value

Help!

 

I create a measue to calculate the number of open opportunities for selected RUs. The measure works fine if the array value is hard coded (refer to below snap)

 

Capture1.PNG

then I create another measure to show the dynamic array value, which works fine as well: 

Capture2.PNG

 

When I use the second measure in the first measure, nothing return. Any help would appreciated:

Capture3.PNG

3 REPLIES 3
Anonymous
Not applicable

Hi @longyu68,

 

I'd like to suggest you use ALLSELECTED ( T1_Bu_Ru[Ru] ) to replace {[Run_list]} part.

Notice: RU_List measure return string value, it can't works as text list.

 

Regards,

Xiaoxin Sheng

Thanks Sheng

 

ALLSELECTED ( T1_Bu_Ru[Ru] ) doesn't work for me. There is no relationship between T1_Bu_Ru[Ru] and [DefaultRU]. While PowerBI prevent me creating a relationship between them due to the fact that [DefaultRU] is build based on a formula. 

 

I will re-construct my data and seek a way of building the relationship first.

 

Thanks for your help again. 

Anonymous
Not applicable

HI @longyu68,

 

If you can please share some sample data for test.

BTW, I dont think you can direct get filtered value from unrelated tables.

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.