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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Retrieve value from a cell and display on a card.

Hi 

I am still learning DAX and need help with the following.  I have a table with 4 columns, A, B,C, D please see below. I need to retrieve and display the value in cell B94 on a card.

 

PhyllisNwad_1-1596783743791.png

 

Any suggestions please? 

 

Thank you in advance.

 

PhyllisN

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

I'd like to suggest you create an index column in 'Query Editor' as below. The pbix file is attached in the end.

Table:

b1.png

 

You may create a measure as below.(You may replace 10 with 94 on your side)

Measure = LOOKUPVALUE('Table'[B],'Table'[Index],10)

 

Result:

b2.png

 

Best Regards

Allan

 

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

5 REPLIES 5
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

I'd like to suggest you create an index column in 'Query Editor' as below. The pbix file is attached in the end.

Table:

b1.png

 

You may create a measure as below.(You may replace 10 with 94 on your side)

Measure = LOOKUPVALUE('Table'[B],'Table'[Index],10)

 

Result:

b2.png

 

Best Regards

Allan

 

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

Thank you very much!

Anonymous
Not applicable

Hi Allan ( @v-alq-msft )

 

Thank you for the solution provided. Yes it worked like magic.  I had responded earlier but I cannot see my previous response, where I accepted your response as the solution. I would click on the button again and hope it works.

 

Thanks much

Phyllis

amitchandak
Super User
Super User

@Anonymous ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

You can filter on column and get a value

 

calculate(sum(Table[col C]),Table[Col A] ="Total No ..")

 

Can you share sample data and sample output in table format?
Appreciate your Kudos.

Anonymous
Not applicable

Hi Amitchandak

 

Thank you for your response.  The  cell content is manually updated i.e. it is not a "total" sum of the other cells. The problem is that I need to take the value from this cell (B94) and display it (543) on a card.  I tried the formula you gave but it gave errors. Any other suggestions please?

PhyllisNwad_0-1596791277584.png

 

Thank you in advance.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.