Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have python code which exports my data every time a change is made on the screen, but i want this code only to run if "Reviewed" is selected in the Chiclet slicer. I have 1 table in the project which has a column called "Column" which has "Reviewed" listed in ever row.
Solved! Go to Solution.
If you want to check if there is a value selected in the slicer, use the ISFILTERED function.
Also, IF function for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ryanb603 ,
Is your problem solved? If so, would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirment will find the solution quickly and benefit here, thank you!
Best Regards,
Community Support Team _ kalyj
If you want to check if there is a value selected in the slicer, use the ISFILTERED function.
Also, IF function for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Are you asking how to write this in DAX?
If so;
IF ( HASONEFILTER ( Table[Column] ), TrueCondition, FalseCondition )
If DAX is not the case, I have no idea. Hehe
Br
Marius
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.