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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
AwesomePowerBI
Regular Visitor

Deneb Stacked Bar Chart with Shaded Future Area

Hi Experts,
I have a stacked column chart having continuous x-axis and a shaded area for future dates as below:
Shaded area start date is determined by a measure.

AwesomePowerBI_0-1666535440275.png

We have a requirement where we need more markers on x-axis for easier reading. Thats possible but then I can't display the future area shaded as x-axis constant lines are only possible in continuous x-axis and not in categorical.
Can someone guide me on how to acheive the below  using Deneb :

AwesomePowerBI_1-1666535865101.png

 

Sample .pbix file : - https://drive.google.com/file/d/1DRZZCAml9qixp0T5UVHim6F_LDyk6IzT/view?usp=sharing

 

@dm-p Thanks

2 REPLIES 2
Anonymous
Not applicable

Hi @AwesomePowerBI ,

 

I think you can try to add a DimDate table and create a relationship between it and your data table. Then you can use date column from DimDate table and select "Categorical" function to try again.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous 
I already have the date DIM table and can able to display all dates with with the Categorical fuction. But after doing show I can't put a x-axis constant refrence line as "Its not available when I select Categorical x-axis"

Thanks

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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