Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a line and stacked column chart plotted against year and annual product .
X axis -- year wise data plotted
Y axis -- annual production
Legend --- categories
Now I want to add a field from a column which contains different values like 2022-Fs, 2023-fs , 2024- fs
From these values I need to take only one value and plot it on secondary axis. But I am not getting that option to take a single filed. Instead it is taking entire column into the field values which will result into count
@muktapurc Hi! You need to create a measure that only returns Annual Production for 2023-Fs, and blank for other rows. Then drop that measure into the Line Values section.
For example:
Prod_2023Fs =
CALCULATE(
SUM('Table'[Annual Production]),
'Table'[StatusYear] = "2023-Fs"
)
If you need to make this dynamic (like pick which StatusYear to plot from a slicer) — you can create a parameter table or a disconnected slicer and update your measure to respect the slicer selection.
BBF
Thanks a lot for your reply. could I share you my measure ? It also exludes to condition. I can share you that measure
@muktapurc yes! send me the measure and the problem
BBF
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |