The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi All,
I'm trying to calculate the MTD in my case for CPA however the values are not adding through the dates.
CPA is calculated as = Divide([Money Spent], [No of customers])
My calculation for CPA MTD is = TOTALMTD([CPA],DateTable[Date])
Solved! Go to Solution.
@Anonymous , That will give ration will not add the daily ratio.
Try a measure like
CPA MTD is = calculate(sumx(values(DateTable[Date]), [CPA]),datesmtd(DateTable[Date]))
Make sure DateTable is marked as date table
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4
Hi @Anonymous
Try this:
CPA MTD = TOTALMTD([CPA],DATESMTD(DateTable[Date]))
Mark this as a solution, if I answered your question. Kudos are always appreciated.
Thanks
@Anonymous , That will give ration will not add the daily ratio.
Try a measure like
CPA MTD is = calculate(sumx(values(DateTable[Date]), [CPA]),datesmtd(DateTable[Date]))
Make sure DateTable is marked as date table
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4
Thanks, that worked perfectly
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |