Forum Discussion

Oded-Dror's avatar
Oded-Dror
Helper III
3 years ago
Solved

ChatGPT Vs CoPilot

Hi there , I've created a small table with 5 Products and their unit price. I ask Bing to write Dax expression to calculate number of products above the average? the code return correct answer but w...
  • Ritaf1983's avatar
    3 years ago

    Hi, Oded.

    Currently, all of our "natural language" engines are not 100 percent accurate because they are based on certain statistics.

    This is the reason why we should not give up studying the Dax.
    Moreover, our writing should also be as precise as possible. There are entire courses dedicated to the elaboration of prompts.

    I am also not certain I understand what you are trying to calculate from your wording.

    Consider phrasing your request differently 
    "Count the number of unique products with unit prices above the average for all products "
    (Assuming I understood your request correctly as you did not provide an example of a data set and the desired result)

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