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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
djanssen
New Member

Can't find table for creating new measure

I'm trying to create a new measure but when writing the prompt, I cannot find the table I need to reference.  

 

djanssen_0-1572358239996.png

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

Hi @djanssen  ,

You won't start with a table name.  More like this. Measure = COUNTROWS(table1) When you are supplying the table or the column that is needed for the function, then you will have an opportunity to add the table.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
Nathaniel_C
Community Champion
Community Champion

Hi @djanssen  ,

You won't start with a table name.  More like this. Measure = COUNTROWS(table1) When you are supplying the table or the column that is needed for the function, then you will have an opportunity to add the table.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Coul you explain this more. I want to multiply quantity from one table and the price from the other table. Both these have the item number.

 

Hi @Anupa_Jayakody 
Please try this:

Total Cost = MAX('Price'[Price])* MAX(Quantity[Quantity])

I created two tables Quantity and Price.  Each table has the item # column.  You will then connect the two tables in the model window by dragging one item# field to the other.

Nathaniel_C_0-1669856943554.png

One of the tables looks like this, and the other is almost identical:

Nathaniel_C_1-1669857046075.png

The final table looks like this, with the item#, price, quantity, and the total cost.

Nathaniel_C_2-1669857212933.png


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




That was very helpful, thanks for taking the time to answer this!  

You are welcome!
BTW, @MattAllington  has a great book, Supercharge Power BI. I learned  a lot from working through that book.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.