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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
giorgikok
Frequent Visitor

How to set more complex/show conditions in capabilities.json?

Hello, I am currently working on my visual's formatting pane and I would like to know how to exactly set conditions such as showing/making the "Show until month: " accessible only after the option to "Filter by Month" is selected (the only other option being "Show All") and how to make it so that the "Show until Month" value could only go from up or down from set of values (for instance from 0 to 12 for months and not more beyond or under that).

giorgikok_1-1694779854382.png


this is the code:

giorgikok_0-1694779821364.png




Thanks in advance.

1 ACCEPTED SOLUTION
giorgikok
Frequent Visitor

I figured it out. For the showing/disabling you need to use the "disabled" property which takes in a boolean value. And for min/max conditions you need to use a special structure shown in the picture below:

giorgikok_0-1698922352411.png

 

View solution in original post

1 REPLY 1
giorgikok
Frequent Visitor

I figured it out. For the showing/disabling you need to use the "disabled" property which takes in a boolean value. And for min/max conditions you need to use a special structure shown in the picture below:

giorgikok_0-1698922352411.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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