The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I need a single column in table by clicking on slicer the column should be change accordingly as per the slicer . How to achieve this please help
Thaks in advance
Solved! Go to Solution.
Hi @baluk
Create a measure
Measure =
SWITCH (
SELECTEDVALUE ( Display[Display] ),
"Hour", FORMAT ( MAX ( 'Table'[hour] ), "standard" ),
"Lasthour", FORMAT ( MAX ( 'Table'[lasthour] ), "standard" ),
"Today", FORMAT ( MAX ( 'Table'[today] ), "General Date" ),
"Yesterday", FORMAT ( MAX ( 'Table'[yearterday] ), "General Date" )
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @baluk
Create a measure
Measure =
SWITCH (
SELECTEDVALUE ( Display[Display] ),
"Hour", FORMAT ( MAX ( 'Table'[hour] ), "standard" ),
"Lasthour", FORMAT ( MAX ( 'Table'[lasthour] ), "standard" ),
"Today", FORMAT ( MAX ( 'Table'[today] ), "General Date" ),
"Yesterday", FORMAT ( MAX ( 'Table'[yearterday] ), "General Date" )
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@baluk ,
You need to unpivot your columns and take this columns in slicer to get your desired result. I tried to replica your scenario at my side and attched screen shot for your reference.
Do let me know it whether it is what exactly you wanna achieve or not.
Don't forget to hit Thumbs up and accept this as a solution if you find it helpful!