Power Bi Plot dataset with x-axis dates - date

I am working with a dataset with which I am creating a dashboard. My dataset is very simple, a first column of [yyyy-mm-dd-hh-mm], and a second column with many values.
I read in many threads and forum about the difficulty to plot dates on x-axis (including hours and minuts).
As reference I am using this dashboard built in PowerBi https://www.terna.it/it/sistema-elettrico/transparency-report/total-load .(Public data of Italian electric energy generation)
This is exactly the outcome I would like to obtain, but by now I cannot display the hours and minuts. I used their data to reproduce the dashboard.
I tried to switch from a "dates" x-axis to a "text" x-axis, but the result is not the same, and furthermore the plot does not occupy the whole page but I have to move to the right.
enter image description here
I really cannot understand how the linked dashboard was built.
Any idea?

I guess your problem is that you have been using Date Hierarchy on the x-Axis you instead of Date only.

Related

How to add the values of a binary dimension type column in a bar chart in SAP Analytics Cloud

I'm trying to put together a story and I'm starting to create the first pages with graphics. The graphs are based on tables that are in S4/HANA and have the format as shown in the first image but with more fields, in each line there are weeks (repeated, although they do not appear like that in the photo) and that week will have a condition; "SI" or "no".
When creating a graph I can represent the amount (y-axis) against the condition and the week (x-axis) and it would look like this (2nd photo). In addition to this, I would like to add another bar per week that represents the TOTAL, the sum of condition = "SI" and condition = "NO". Is it possible to do this from SAP Analytics Cloud or do I have to rack my brain changing the lines of the source table adding a total there?
As a clarification, I do not need to add 2 different numerical fields or anything, I would simply like to add the SIand NO of the condition column, if on the y-axis I put volume that represents volume and if I put amount that represents amount, but I am looking for a third bar With the total, I don't know if I explained myself well.
Thank you very much in advance, if you help me solve this I would be very grateful, greetings
https://ibb.co/dcCKKzF
https://ibb.co/kDN3ZXp

I need to sign every week on a diagram in my Power BI report

I've created a bar chart where I have values on axis Y and weeks on axis X. I want to sign every week on this chart. The problem is that I have weeks with no data and I still want to show this blank weeks. But I can't make it to start from first week,it automatically start from first not blank week.I tried to play with continuous and categorical type of data on axis X but it didn't help. I've already chosen option "show elements without data". But it still doesn't look like a want.
For best understanding I'll show you what I have and desired result.
Now it looks
this way and this way
But I want that it look
this way
Thank you for any useful tips.

Making a scatterplot in PowerBI

I'm used to using Tableau (similar to powerBI), and I'm now testing powerBI as well. I've been trying to receate a plot from Tableau, but I'm unable to do it (see the images).
Now I realize that this probably has a very simple solution, and I understand the general problem with how the data is aggregated together, but I'm just not able to find the solution on my own. What sort of buttons should I push in PowerBI to make this work?
Thanks for any help!
Tableau plot
PowerBI plot
In the Tableau plot, you're putting the Date at Day level on the x-axis. In the PowerBI plot, you've the Date at Year level at the the x-axis. That's why all points are displayed exactly on a year.
You should put the Day at Day level on the x-axis in the PowerBI plot, just like the Tableau plot. You can do this by dragging the date column in the X Axis field, and remove the Year, Quarter and Month level. The only remaining level will be Day.
Edit:
Or don't display the hierarchy, and display the date field:
Change the Date field from "Date Hierarchy" to plain "Date"
Power BI treats dates as hierarchies by default - this is useful for drilling (e.g. see the "big picture" of year-over-year performance, and than drill down to month or day resolution) in interactive reports, but less so when you just need a quick summary.
You can change this using the dropdown button next to the "date" field in the visual's field-well. Just choose "Date" instead of "Date Hierarchy":
For comparison, this is the same visual with date as date hierarchy:
There are some additional details in this 5 Minutes BI blog post.

Tableau and modified Sankey diagram

I have been trying to recreate a modified Sankey based on Adam's work with the American Whiskey Viz and Beatles Analysis Viz that are found here:
https://public.tableau.com/s/gallery/beatles-analysis
https://public.tableau.com/s/gallery/american-whiskey-wheel
I am trying to create the same effect on my own data set. I am not sure how Adam was able to line up the sankey portion with the bar chart perfectly. I have tried many different ID2 field configurations and varying metric fields in the Curve calculated field options with no success. I haven't been able to get them to line up exactly. I would also like my bases to start in different locations along the sankey and not all originating from the left.
I realize that the examples are working with much smaller data sets but believe that this should still be possible with my data. I have tried Business ID in my curve formula and wondering if I need to have a more generic metric in my model. Andy uses Song ID which is a number between 1 and 45. My IDs range from 3-3000. You can see in the workbook attached how I am setting up these fields to get the curve of the Sankey. Is it possible to get them to line up with the barchart at the top of Dashboard 2?
UPDATE 3/22/16:
I was able to get the lines much closer to their bars by modifying the Curve-LoyaltyID2 field. I loaded it to Public for easier viewing. Some lines are still not aligning directly to their corresponding bars though.
Tableau Public
Thanks for any ideas you have!

Cognos Chart with "No Data Available" although list shows data

I am completely new to Cognos, so sorry if I don't state some necessary information. I can't go into specifics about my chart, but here is the background:
I have a SQL code running into my Query
My chart and list use the same Query and have the exact same fields
My chart is a basic line graph
When I change my aggregate function to total for my y-axis, then I can see the data points
I do not want to use an aggregate function (I need to see all the points for my x and y-axis)
My x-axis is only one object, but it has multiple y-axis values within a year (which is my series). Ex:product-cost-year list,
where my product is the x-axis, cost is the y-axis, and series is year.
How can I get my chart to appear with all my data points? Eventually, I would like to add an upper and lower confidence interval to this chart.
One way to solve this issue is to create another column that simply counts the number of products (1,2,3,...9). We will call this column count. Keep all your fields the same (product for x-axis, cost for y-axis, and year for series). You will want to add count underneath product on the x-axis. You should see your mouse pointer turn to a horizontal line and it will place it under and to the right of product. Make sure not to place it just to the right of product.