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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
mng
Advocate I
Advocate I

Report Builder - Conditional Border for each text box in calendar format

Hi, I'm trying to replicate an existing feature on a report but I think my understanding of using parameters is hindering me from this replication.  This feature creates a border around textboxes based on a condition. 

 

I actually wrote a lot of information that I'm afraid will just confuse folks, so i'll just ask and if its not clear still, I'd be happy to provide more information. 

 

Does anyone know how the variables "StartDay and "SwitchDays" would be designed in the report? I understand the logic of the expressions I just don't understand how to build this on the backend. 

 

img1 - calander.png

2 REPLIES 2
d_gosbell
Super User
Super User


@mng wrote:

Does anyone know how the variables "StartDay and "SwitchDays" would be designed in the report? 


What do you mean by "designed"? Are you asking how you manually add parameters to a report? If so you can do this by right-clicking on the parameters folder and choosing the add parameter option

d_gosbell_0-1698016075771.png

 

I just realized this is probably an SQL question, not sure why that didn't hit me before. 

 

My "how to design" question was to get help understanding how the query would be written for the parameters in the calendar tables. 

The parameter would be set from a column of dates but I'm struggling on how to set essentially 3 variables in sql using that column of dates for those 3 calendar months in report builder to create those borders around the dates. 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.