Forum Discussion
Kurt4597
3 years agoHelper I
Summarized Table
Sales Table
Date Table
I would like to create a summarized table like this
I am able to create a summarized table for each day using the following code
DailySalesCount = SUMMARIZECOLUMNS(DateDim[Date],"DailyClickCount",DISTINCTCOUNT(Sales[Unique Sale Reference]))
But I am unable to bring the Shop name into this
Please could somebody assist?
Sample File https://easyupload.io/bx07gx
Thank you
3 Replies
- mangaus1111Solution Sage
Hi Kurt4597 ,
try this:
ADDCOLUMNS(
SUMMARIZE(
'Sales Table',
'Date Dim'[Date],
'Sales Table'[Shop Name]
),
"DailyClickCount",DISTINCTCOUNT(ClicksByDay[clickref])
)
Please mark this answer as solution, if it helps.
- Kurt4597Helper I
Hello, I appear to get this error message from your solution
- mangaus1111Solution Sage