How can we enable the function field as circled in red in the screenshot below? I cannot find it in my Power BI Desktop. I am using DirectQuery.
This looks like you are referring to the Formula Bar.
The formula bar is only visible when you are working with DAX, i.e. creating/editing a measure or a column in a table.
Create a new measure or select an existing measure in the field picker on the right of the screen, and the formula bar will show.
Related
enter image description hereenter image description hereI want to change the tile color of a horizontal slicer based on a table value. I.E. if the data value in a table is > 0, format the slicer tile to change color.
In my report I use a simple slicer to drill down on a table below. I essentially want the slicer to highlight if there is a difference between the baseline and database value.
I can use conditional formatting and get the table values to change color, however I am unable to get the linked tile in the slicer to change.
In Power BI, the Slicer visual doesn't have any conditional formatting option for the slicer tile color.
But there is an alternative to it. It is to use Power BI Treemap visual.
Slicer
Treemap
I am trying to create a stacked column chart in Power BI desktop. Once I drag the stacked column chart from the visualization, it only shows options for X-Axis, Y-Axis, Legend, Small multiples, Tooltips.
But the values seems to be missing from the above list.
Any pointers will help.
Thanks
Y-Axis is the new Value field.
I'm a newbie in Power BI and I'm now stuck with a visualization problem. I have an Excel table with columns about (1) the title of a news article and (2) the date when it was published. As seen on the screenshot from Excel, there are months on which nothing was published.
I need to make a stacked column chart in Power BI from it. First, the one I made shows only years, while I want to see months. Second, I'd like to see each month, including those that have the value of 0 (i.e. nothing was published on this month). Thus my aim is to have 48 month columns instead of my 4 columns for years. Thanks a lot in advance!
Initial data, Excel
The Power BI stacked column chart that I want to tweak
I assume you are using auto date/time in Power BI Desktop, for simplicity:
Create a new bar chart visualisation
Drag the Date column into the Axis field
The Date column should transform into a hierarchy - remove Quarter from this hierarchy
If the Date column does not show up as a hierarchy, right click Date in the Axis field and select Date Hierarchy
Drag the Title column into the Values field
Right click Date in the Axis field and tick Show Items With No Data
Click the visualisation in the canvas and press the button that looks like one arrow that splits into two arrows, to expand all down one level in the hierarchy
This should get you what you are after:
You can deselect Concatenate Labels for your X-axis to get this result.
I am learning Power Bi and was looking a report where multiple slicer having used in single Rectangle shapes. I need to know how can we add multiple slicer in single rectangle like this in image.
here in the image multiple slicer or filter has been used. Please help me to understand the concept of it. how we can build something like this in Power Bi.
You can put multiple slicers on top of a rectangle shape and then group them all together by selecting all the objects and right-clicking them and choosing Group. Then you can move them as a single object.
I am trying to replicate a report created in Spotfire into Power BI. I am stuck with one of the visuals. Any work around or idea will be appreciated.
I tried creating this chart in Power BI into a stacked bar chart viz but that does not help.
I'd use two stacked bar charts. Add some text boxes if you need them. Use the 'Lock Objects' on the format page to stop things from moving around. Lock and hide the filter pane if you need to. Put a nice background behind it to create am impression.