Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
i've the following table named TURNOVER:
DATE | ID |
01/05/2024 | AAA |
01/05/2024 | BBB |
01/05/2024 | CCC |
01/05/2024 | DDD |
01/06/2024 | AAA |
01/06/2024 | BBB |
01/06/2024 | CCC |
01/07/2024 | AAA |
01/07/2024 | BBB |
01/07/2024 | DDD |
01/07/2024 | EEE |
01/08/2024 | BBB |
01/08/2024 | DDD |
01/08/2024 | FFF |
01/08/2024 | HHH |
01/08/2024 | LLL |
Date is when the record is insert (1th of each month); ID is the key ID of the table.
I've to create a DAX that calculate for each month the positive (new record) and the negative difference (missing record) compared with the previous month.
For Example, on the 01/07/2024 i've two new record (IN) and one missing record (OUT) compared with june.
Date | RecordCount | IN | OUT |
01/05/2024 | 4 | - | - |
01/06/2024 | 3 | 0 | 1 |
01/07/2024 | 4 | 2 | 1 |
01/08/2024 | 5 | 3 | 2 |
Which is in your opinion the best way?
I tried with the following DAX but it doesn't work properly:
Solved! Go to Solution.
@DaniEMIT , For this first create a measure for Previous month date
Proud to be a Super User! |
|
@DaniEMIT , For this first create a measure for Previous month date
Proud to be a Super User! |
|