Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hi
I need to get the Customer Count bassed on two factors, First is "terminal number" and second is "Transaction Number". each factor repeated in the same invoice with each barcode.
I create on DAX giving me the correct value for each terminal per store per day. but the total of the day or total of the store for the period is incorrect. I have to retune to filter by date and store.
Please can anyone help regarding below DAX statement?
Solved! Go to Solution.
Firstly, Thanks @amitchandak
The statement you shared it's correctly in addition to table name and two more columns "STORE #" and "AREA".
the Final statement below:
@islam_zaki , Try like
Customer Count =
SUMX (
summarize ( SALESTRANSACTION[TERMINAL #] ,SALESTRANSACTION[Date] ,"_1",
CALCULATE ( DISTINCTCOUNT ( SALESTRANSACTION[TRX #]))),[_1]
)
Can you share sample data and sample output in table format?
Firstly, Thanks @amitchandak
The statement you shared it's correctly in addition to table name and two more columns "STORE #" and "AREA".
the Final statement below:
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
21 | |
21 | |
13 | |
12 |
User | Count |
---|---|
43 | |
28 | |
25 | |
23 | |
22 |