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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Nurzh
Frequent Visitor

Line and Clustered Column Chart, custom lines shared

Hi all, 

I am trying to create Line and Clustered Column Chart, with custom lines

Shortcut of dataset is below:  

Is_reviewedDoc_numberForecast DatesPeriod Type
True61-BDIN-52001June 2023Actual
False61-BFIN-21012June 2023Forecast
True61-HS-51762-3June 2023Actual
True61-NAS-52083June 2023Actual
False61-NFI-52007June 2023Forecast
False61-NGC-52010-1June 2023Forecast
False61-NGC-52071June 2023Forecast
False61-NGT-52060June 2023Forecast

 

The goal is to create custom line that shows: 

1. Actual rundown: Sum of all Doc_numbers and minus only count of Doc_numbers with Is_reviewed = True  (dataset will be updated to true if someone will review this doc number) and Period Type=Actual

2. Forecast rundown: Sum of all Doc_numbers and minus count of Doc_numbers with  Is_reviewed = False and Period Type=Forecast

The correct version of chart was in Excel below, and I am trying create in Power BI: 

 

Nurzh_0-1688373833753.png

 

Please help to create measures for this 2 additional lines. 

 

Many thanks! 

1 REPLY 1
Anonymous
Not applicable

Hi @Nurzh,

I'd like to suggest you add a new table with these full categories to use on legend field. Then you can write Dax formulas to look up and aggregate raw table records based on current date axis and legend category. 

If these also not help, you can also consider using script-based visuals(R, Python) to manually plot the graphs that you wanted.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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