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.
I created calculated measure based on two calculated measures .
I am getting the SUM of that calculated measure 'new_revenue' wrong. I couldn't figure it out how to write an expression to SUM the calculated measure using DAX even after looking into forums.
Can any one help me with an expression to find the SUM of a calculated measure.
here expected sum is 2000 ( 200+1800 ) but value is coming like 3200 which 4000 * 0.8 . but i need exact sum .
someone please help me??
sample data :
previous_year_revenue | previous_year_exchange_rate | new_revenue = (previous_year_revenue) * (previous_year_exchange_rate) |
1000 | 0.2 | 200 |
3000 | 0.6 | 1800 |
sum = 4000 | sum = 0.8 | sum = 4000*0.8 = 3200 ( expected sum = 2000) |
Solved! Go to Solution.
I did say I can't because I don't know the model. Please take a s/shot of it and paste here. If you only want this to work for VISIBLE YEARS, then you'll need something like this:
sumx(
values( Table[Years] ),
[new revenue]
)
Best
D
Hi,
I am trying to figure out how to create a YTD SUM for a visual built from a calucated measure. The Sum I would like to see is S/S Variance YTD, can someone help me?
See snipshot below.
I did say I can't because I don't know the model. Please take a s/shot of it and paste here. If you only want this to work for VISIBLE YEARS, then you'll need something like this:
sumx(
values( Table[Years] ),
[new revenue]
)
Best
D
HI
Try like this. hope it will help u
table is a dummy name i used here and fact table are hidden from the slicer . i use only dimension slicer. i agree with ur suggestions, i need previous record of date as well , thats y i gave date there. currently i need sum of new_revenue .please help me to write that dax.
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |