Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
aamir200
Frequent Visitor

Issue That I am facing is that value became double if I remove Id from table. And and I keep Id in t

Hi Team


Issue That I am facing is that value became double if I remove Id from table. And and I keep Id in the table it showing correct value. But I dont want in the ID in the table. So how I can handle that in the dax

I need urgent help on dax

RLLFCST_MTH+1

VAR _RLL = CALCULATE(sum(RLLFCST_2022[RLLFCST]),NEXTMONTH('Date'[Date].[Date]))
RETURN
SWITCH(TRUE(),
SELECTEDVALUE('Date'[Date].[MonthNo])=3, CALCULATE(_RLL, RLLFCST_2022[MTHN_No]=3),
SELECTEDVALUE('Date'[Date].[MonthNo])=4, CALCULATE(_RLL, RLLFCST_2022[MTHN_No]=4))

RLLFCST_MTH+2 =
VAR _RLL = CALCULATE(sum(RLLFCST_2022[RLLFCST]),DATEADD(NEXTMONTH('Date'[Date].[Date]),1,MONTH))
RETURN
SWITCH(TRUE(),
SELECTEDVALUE('Date'[Date].[MonthNo])=3, CALCULATE(_RLL, RLLFCST_2022[MTHN_No]=3),
SELECTEDVALUE('Date'[Date].[MonthNo])=4, CALCULATE(_RLL
,RLLFCST_2022[MTHN_No]=4))

Using Id in the table it showing correct  valueUsing Id in the table it showing correct valueIf I remove Id from table it showing wrong value . It doubles the valueIf I remove Id from table it showing wrong value . It doubles the value

1 REPLY 1
aamir200
Frequent Visitor

Any one has answer on above quey?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.