Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi BI folks,
Im looking our for a ideal / best approaches to handle below type of visual requirement in purely Power BI or SQL code. How to build the data view for this?
In the mockup image, its Showing last 2-weeks dynamic (2 bars) and the base case (black bar) is constant value.
For a KPI, Basically showing dynamic last 2 weeks with a black constant bar & the circle dot changing as per the last week value more than base case -(black bar) .
Please any reference/workaround would be appreciated.
Thanks!
Solved! Go to Solution.
since we don't have the fact table, i can only create the date table for testing.
pls see the attachment below
Proud to be a Super User!
do you have a date slicer that will change the date or if the data were updated, this visual always display last 2 weeks data?
what's more, could you pls provide some sample data? how we get the base case value?
Proud to be a Super User!
hi Ryan,
- Always display last 2 weeks (sun-sat) dynamically (looking into it today- it will be 30 mar - 5 mar (Previous week)& 6 - 12 mar (last week)). Current week will not be included because its has not completed the full 7 days timeframe.
- for base case, we can enter sample data using datatable in power bi (kpi name & base value) as its a constant value.
thanks in advance!
since we don't have the fact table, i can only create the date table for testing.
pls see the attachment below
Proud to be a Super User!
Hi Team,
Currently my fact model looks like below:
date, kpi name, few dimensions, Units (sum/divide), value , value 1.
my generic calculation: if the Units = 'sum' then sum(value) else sum(value)/ sum(value1)
Also for the above case of scenario should I create a disconnected table approach?
Help me with the steps please. Thanks!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
82 | |
67 | |
61 | |
46 | |
45 |