Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |