Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all,
I am trying to create Line and Clustered Column Chart, with custom lines
Shortcut of dataset is below:
Is_reviewed | Doc_number | Forecast Dates | Period Type |
True | 61-BDIN-52001 | June 2023 | Actual |
False | 61-BFIN-21012 | June 2023 | Forecast |
True | 61-HS-51762-3 | June 2023 | Actual |
True | 61-NAS-52083 | June 2023 | Actual |
False | 61-NFI-52007 | June 2023 | Forecast |
False | 61-NGC-52010-1 | June 2023 | Forecast |
False | 61-NGC-52071 | June 2023 | Forecast |
False | 61-NGT-52060 | June 2023 | Forecast |
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:
Please help to create measures for this 2 additional lines.
Many thanks!
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