Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
i want to summarize data from my table , i have come up with following SQL query, how can i implement it with DAX.
SELECT B.ACCOUNT,YEAR(B.DATE) [YEAR],SUM(SALESPRICE) [SUM] FROM SALES B GROUP BY ACCOUNT,YEAR(B.DATE)
Solved! Go to Solution.
Hi @Talaal-Sid ,
Table = SUMMARIZECOLUMNS(SALESB[DATE].[YEAR],"SUM",SUM(SALESB[SALESPRICE]))
Hi @Talaal-Sid ,
Table = SUMMARIZECOLUMNS(SALESB[DATE].[YEAR],"SUM",SUM(SALESB[SALESPRICE]))
User | Count |
---|---|
103 | |
90 | |
78 | |
72 | |
68 |
User | Count |
---|---|
108 | |
96 | |
95 | |
74 | |
71 |