Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a series of data 2 columns in particular, showing status of an item - Open or overdue for different vendors. I'd like to do a combined line/column chart and filter the colum showing overdue only while the line shows total count (open + past due) per vendor, so the overdues can be shown in context to the total. Whenn I do the chart and apply a filter for overdue, it filters the column and the line. any thoughts how I can filter column only?
Thanks
Solved! Go to Solution.
You'd have to write a measure to use on the column using CALCULATE to add a filter directly. For example
CALCULATE (
COUNTROWS ( Item ),
Item[Status] = "Overdue"
)
Obviously you'll have to adjust code to your model.
You can then use that as the value for your bar and another measure or the auto measure for the line.
Hi @Jay74
For the total one (the one ignoring the filter) you could create a CALCULATE measure with REMOVEFILTER, or the other one you could create a CALCULATE measure that includes the overdue filter. I cannot be more precise without a sample of the data.
But the awnser is a measure with CALCULATE.
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
Best regards,
Jeroen
Hi @Jay74
For the total one (the one ignoring the filter) you could create a CALCULATE measure with REMOVEFILTER, or the other one you could create a CALCULATE measure that includes the overdue filter. I cannot be more precise without a sample of the data.
But the awnser is a measure with CALCULATE.
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
Best regards,
Jeroen
You'd have to write a measure to use on the column using CALCULATE to add a filter directly. For example
CALCULATE (
COUNTROWS ( Item ),
Item[Status] = "Overdue"
)
Obviously you'll have to adjust code to your model.
You can then use that as the value for your bar and another measure or the auto measure for the line.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
97 | |
75 | |
65 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |