79532738

Date: 2025-03-25 05:14:24
Score: 2.5
Natty:
Report link

Thanks @David Browne,

Thank you for the first tip!

But the issue is I was trying to create a column and your query gives a table context. But thankfully I finally was able to create the below query that works based on the answer you provided! Thank you so much!

CustomerRevenueTable = 
SUMMARIZE(
    '''Online Retail2$''',
    '''Online Retail2$'''[CustomerID],
    "Total Revenue", SUM('''Online Retail2$'''[REVENUE])
)
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @David
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vicktor Krum