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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I want to get the difference between first transaction and recent transaction How can I create a measure to do that and if i can get the answer in months it would be ideal
bvet
Solved! Go to Solution.
Hi @ligalbert
You currently have 3 columns in the table visual, and want to add the date difference in month in the table visual as well, right? Here is one way
Diff=DATEDIFF(MAX(yourTable[First Order Date]),MAX(yourTable[Recent Order Date]),MONTH)
Hi @ligalbert
You currently have 3 columns in the table visual, and want to add the date difference in month in the table visual as well, right? Here is one way
Diff=DATEDIFF(MAX(yourTable[First Order Date]),MAX(yourTable[Recent Order Date]),MONTH)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 33 | |
| 29 | |
| 26 |
| User | Count |
|---|---|
| 134 | |
| 104 | |
| 63 | |
| 60 | |
| 55 |