Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I'm trying to create a new measure but when writing the prompt, I cannot find the table I need to reference.
Solved! Go to Solution.
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
Proud to be a Super User!
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
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.
One of the tables looks like this, and the other is almost identical:
The final table looks like this, with the item#, price, quantity, and the total cost.
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
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.
Proud to be a Super User!
User | Count |
---|---|
77 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |