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,
Need your expertise, please.
I'm trying to show the difference between two bars in my clustered bar chart -- the result will be added as line chart or any recommendation as to how to show it is welcome.
is it possible?
orange - total hours
blue - forecasted hours
Solved! Go to Solution.
Hi, @stvesanity
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below.
Diff = SUM('Table'[Total Hours])-SUM('Table'[Forecasted Hours])
Then you may display the result with 'Line and clustered column chart'.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @stvesanity
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below.
Diff = SUM('Table'[Total Hours])-SUM('Table'[Forecasted Hours])
Then you may display the result with 'Line and clustered column chart'.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@PaulDBrown hey Paul, would it be okay to seek for your assistance about this as well? Appreciate your help
Diff =[forecast] -[total hour]
USe clustered line visual
https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-combo-chart
apologies if i was unclear
the forecasted hours (188 = total for the month and it's 37.5 = week)
prob is,
1. i'm always subtracting it to 188
2. i have 1 filtered item in forecasted hours (not included as forecasted hours in my raw)
3. related to 2nd item, if i'm directly running what you have provided (forecast hr)-(actual hr) my concern in 2nd item is also included
sorry for being pain
If you include a filter in the filter pane, the corresponding table will be filtered accordingly for all the measures you include in the visual. So if you exclude a value, the measures will compute the result excluding the value you have filtered.
Having said that, as @amitchandak suggests, the best way to undertsand the potential problem is to see an actual example, as in a sample PBIX file or a sample dataset (without sensitive data of course) with the measures and expected output. (You can upload and share these in a cloud service such as Onedrive, Google Drive, Dropbox...)
It´s hard to understand what the issue is from the images you have posted.
Proud to be a Super User!
Paul on Linkedin.
@stvesanity ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
here it goes -- appreciate your help
2nd screenshot is the
value = hours spent/task
column = expected hours/wk and expected hours/month
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 |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |