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

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

Reply
AnnDuch
Regular Visitor

Get name based on ID from Power BI dataset Excel - - Cubememberproperty?

Dear all

I have a question about using the data set from Power BI in excel. 

I use the cubemember formula with a reference to a cell. eg.: =CUBEMEMBER("Budget 2023 Report";"[Product Data].[Material ID].&["&D2&"]"). This works fine.

However, based on this Material ID, I would like to extract as well the Material Description that is in the same table ([Product Data].[Material Description]). I search on the internet and thought Cubememberproperty might work. But I get #N/A. 

 

Does anyone know if this is possible and how? 

Thanks a lot for your help!

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

you can create a measure to get the item description according to the item code. say, new measure=max('Product Data'[Material Description])

then use CUBEVALUE to get it

=CUBEVALUE("Budget 2023 Report";"[Product Data].[Material ID].&["&D2&"]","[Measures].[New Measure]")

View solution in original post

2 REPLIES 2
AnnDuch
Regular Visitor

Thanks a lot for your reply. I was hoping to have a more "simple" solution (wo additional measures). But at least we can work with this. 

wdx223_Daniel
Super User
Super User

you can create a measure to get the item description according to the item code. say, new measure=max('Product Data'[Material Description])

then use CUBEVALUE to get it

=CUBEVALUE("Budget 2023 Report";"[Product Data].[Material ID].&["&D2&"]","[Measures].[New Measure]")

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.