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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
raghu_7270
New Member

QTD and YTD values are not showing up at each region when slicer is changed

HI Team,

 

I have created the below calculation for creating YTD and QTD, the result is correct but in the table the value is not getting show at each regoin level as per the below screen shot, any help to resolve this will be really helpfull...

MicrosoftTeams-image (1).png

Rev_CY_QTD_T = Var mm= SELECTEDVALUE( LSS_TEST[POSTING_FISCAL_PERIOD])

var yy= SELECTEDVALUE( LSS_TEST[POSTING_FISCAL_YEAR])

var qq= convert(SELECTEDVALUE( LSS_TEST[POSTING_FISCAL_QTR]),INTEGER)

var result= CALCULATE(sum( LSS_TEST[AMT_USD_MA]),
FILTER(ALL( LSS_TEST), LSS_TEST[SCENARIO]="ACTUAL" &&
LSS_TEST[POSTING_FISCAL_YEAR]=yy && LSS_TEST[ACCOUNT] in {"410000","410001"} &&
LSS_TEST[POSTING_FISCAL_PERIOD]=mm && LSS_TEST[POSTING_FISCAL_QTR]=qq))

return result

2 REPLIES 2
johnt75
Super User
Super User

I think you need to replace the ALL with ALLEXCEPT on the DESTINATION_REGION_NAME column

Thanks for the reply JOhn, I have tried it as well still the same issue 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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