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 all,
I have a challenge visualizing comparative, relative time period in a line chart.
The line chart I am trying to replicate is already available in Google Analytics (see below). If I choose last 7 days, it shows two lines.
How to achieve this in Power BI?
That would be a huge assitance if anyone could help me.
Solved! Go to Solution.
Hi @bekzod ,
You couldn't do it directly in Power BI.
You could create two new columns.
7 days = DATEADD('Table'[Date],-7,DAY)
value2 = LOOKUPVALUE ( 'Table'[value], 'Table'[Date], 'Table'[7 days] )
Then use line chart to get visual. Set rules in the filter pane.
You could download my test file and refer to it.
Hi @bekzod ,
You couldn't do it directly in Power BI.
You could create two new columns.
7 days = DATEADD('Table'[Date],-7,DAY)
value2 = LOOKUPVALUE ( 'Table'[value], 'Table'[Date], 'Table'[7 days] )
Then use line chart to get visual. Set rules in the filter pane.
You could download my test file and refer to it.
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |