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.
Hello everyone
i have 2 formulas inside my measure
old way = SUM(RevenueTable[Total])
this was the formula from beginning of my dataset until october 3 2022
so on october 3 2022 and forth,
new formula = SUMX(Revenuetable2,[QTTY] * [Amount])
so my measure is
total revenue =
it work fine on single selected date
but if i selected from september 26 to october 9,
it wont give me the sum of both
if selected october 3 and above, it gave me new correct:
if selected september 26 till october 2 give me old corrrect :
now if i select all, it gives me this:
as you see it wont give me the sum it just gives me the new formula is apllied
please help
Solved! Go to Solution.
@Anonymous , Try a measure like , Unsing filter add both
calculate(SUM(RevenueTable[Total]),Filter('Calendar Table','Calendar Table'[Date] < DATE(2022,10,3) )) +
calculate(SUMX(Revenuetable,[QTTY] * [Amount]),Filter('Calendar Table','Calendar Table'[Date] >= DATE(2022,10,3) ))
@Anonymous , Try a measure like , Unsing filter add both
calculate(SUM(RevenueTable[Total]),Filter('Calendar Table','Calendar Table'[Date] < DATE(2022,10,3) )) +
calculate(SUMX(Revenuetable,[QTTY] * [Amount]),Filter('Calendar Table','Calendar Table'[Date] >= DATE(2022,10,3) ))
User | Count |
---|---|
24 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |