Hi @Madura_Puri , welcome back to the Community 
You can obtain this, if I understood correctly the issue, by generating different calculated fields based on you Control+Parameter selection.
Let’s say you Parameter, modified when you change the Control dropdown values, is called TimeGranularity
. Let’s say also you have a field called MyDate
.
You can create calculated fields like this (there are 4 different calculated fields):
PoP_Day = periodOverPeriodDifference(sum(Sales), {MyDate}, "DAY", 1)
PoP_Week = periodOverPeriodDifference(sum(Sales), {MyDate}, "WEEK", 1)
PoP_Month = periodOverPeriodDifference(sum(Sales), {MyDate}, "MONTH", 1)
PoP_Year = periodOverPeriodDifference(sum(Sales), {MyDate}, "YEAR", 1)
Then you can create a final field to be used in your visual, let’s call it PoP
:
ifelse(
${TimeGranularity} = 'Day', {PoP_Day},
${TimeGranularity} = 'Week', {PoP_Week},
${TimeGranularity} = 'Month', {PoP_Month},
${TimeGranularity} = 'Year', {PoP_Year},
NULL
)
Now you just have to select this field in your visual, and this should change when you select a different value in the control!
Let me know if this helps 
Andrea