Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi All,
I have a period column where i will have 3 values Quarterly Trend, Weekly Ttrend and Yearly Trend.
I created 3 different measures for all these 3 vlues.
Now i would like to create another measure which hold the values like if i select Quarterly trend then it need to dosplay quarterly values measure.
if i select Weekly trend then it need to dosplay weekly values measure.
if i select Yearly trend then it need to dosplay Yearly values measure.
I want this in a single measure.
Thanks in advance
Solved! Go to Solution.
Hi,
You could try creating a measure like below
Measure =
SWITCH(TRUE(),
SELECTEDVALUE('Table'[Period]) = "Weekly trend",[Weekly values],
SELECTEDVALUE('Table'[Period]) = "Quarterly trend",[Quarterly values],
SELECTEDVALUE('Table'[Period]) = "Yearly trend",[Yearly values])
Hi,
You could try creating a measure like below
Measure =
SWITCH(TRUE(),
SELECTEDVALUE('Table'[Period]) = "Weekly trend",[Weekly values],
SELECTEDVALUE('Table'[Period]) = "Quarterly trend",[Quarterly values],
SELECTEDVALUE('Table'[Period]) = "Yearly trend",[Yearly values])
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 65 | |
| 45 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 115 | |
| 114 | |
| 38 | |
| 36 | |
| 26 |