Forum Discussion
Adding Average Point on a cluster bar chart
Anonymous what DAX measure you are using for average? Provide sample pbix file with expected output might be an easier way to provide a solution for this. Share thru one drive/google drive.
Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- Anonymous5 years agoNot applicable
Hi,
Due to size and sensitivity of the data, I can't share the PBIX.
The Axis is controlled by a table
The legend is a text field from a header table that has a date converted to YYYYMM.
In Values is a Measure that is set to the value of another measure based on measure Graph1m. Graph1m has following logic:
Graph1M = max(GraphRates[GraphRate])GraphDM = SWITCH(TRUE(),CONTAINSSTRING([Graph1M],"Un-Deliverable Rate"), [RateUndeliverable%],CONTAINSSTRING([Graph1M],"Deliverable Rate"), [RateDeliverable%],CONTAINSSTRING([Graph1M],"Invite Click Thru Rate"), [RateInviteClickThru%],CONTAINSSTRING([Graph1M],"Survey Click Thru Rate"), [RateSurveyClickThru%],CONTAINSSTRING([Graph1M],"Non-Response Rate"), [RateNonResponse%],CONTAINSSTRING([Graph1M],"Survey Response Rate"), [RateResponse%],CONTAINSSTRING([Graph1M],"Complete Rate"), [RateContactCompleteQ%],CONTAINSSTRING([Graph1M],"Partial Rate"), [RateContactPartialCompleteQ%]So a cluster grouping is set to a measure value across YYYYMM. What I am looking to do is set an average for each cluster potentially adding a trend line across each cluster. The Analytics tab allows you to set min,max,media, average, percentile, constant but that is for the entire graph.