Power BI: Invert Primary Y-Axis, but not Secondary Y-Axis - powerbi

In Power BI, I have a chart with a primary and secondary y-axis. I would like the primary axis to be inverted, but the secondary one to remain normal. From what I've researched so far, this doesn't look to be a possibility. As a workaround, I've created a DAX measure so that the field on the secondary axis is multiplied by -1.
My 2 questions are:
Is there a way to invert the primary Y-Axis, but not the secondary?
Can the measure I created as a workaround be manipulated so that even though it is a negative number, the secondary axis labels (and data labels) still show positive values?

Related

Requery when selecting area in PowerBI map

I have a map that does not shows all points from my dataset (too many, its an expected behavior). If I filter the data, Power BI recalculates the points to be shown, while ALL filtered data (not only shown) are used for any other calculations or visuals. But, if I make an AREA selection IN MAP (lasso selection), only the selected points I can see in map are used for thhese calculations.
Is there a way to FILTER AND RECALCULTE the dots IN SELECTED AREA? I mean, use the lasso selection not to mark specific poits, but to filter values in latitude/longitude selected range.
Thanks!

Power BI - formatting matrix table individual cells

Team,
I'm trying to format individual cells within a Power BI matrix table. It wouldn't be a conditional formatting because it's not based on the values of the cell, rather it's based on the intersection of my X and Y labels.
The first image is my starting matrix table and the second image is how i'd like to format the cells.
I believe you are looking for the Table Heatmap visual. it is for free. Tick the 3 dots and click "Get more visuals".

what is the difference between a calculated column and a measure?

Could you please help me understand the conceptual difference?
When do we use one over the other and how they are included in the data model?
Measures, calculated columns and calculated tables all use Data Analysis Expressions (DAX).
Calculated columns work in the horizontal direction of a table
and they add a value to each row of the table that can later be used
for filtering, e.g. on the axis of a diagram.
Measures work in the vertical direction of a table since they aggregate or summarize the values in a column. They are typically the contents of a diagram.
Both calculated columns and tables will add data to the model, just like the M-code in PowerQuery does. This data is recalculated on model refresh and otherwise won't change. In contrast measures add formulas only that will be calulated depending on the filter context.

Can I put Lines on both axis in a Combo Chart in Power BI? (besides the Columns)

When using Power BI, is it possible to add a Line on the left Y-axis?
Right now, I can only use the left Y-axis for the columns, but I want to put a Line graph on it as well.
I know I can use the right Y-axis, but I want to use them both (due to multiple formats).
To specify my question:
I'd like to visualize 3 metrics using a combination of a Line chart and a Clustered Column chart.
I've got columns representing Sessions, using the left Y-axis and a Line representing New Users on the right Y-axis, like this graph
But now I also want to show the Ad Costs as a line using the left Y-axis.
Which would look like this graph.

Different color schemes for bars chart in PowerBI

Hi I'm trying to create a Bar Chart like this (This chart is an illustration, not created from data yet):
If the data is being fetched from a single table, how can I have dual color scheme for bar is past and future. Also how can I place a moving marker that automatically updates the TODAY placard based on whenever the report is viewed and accordingly bars should follow the past and future color schemes.
Schema is roughly as follows:
Table1: Issue ID, Release name, issue priority
Table2: Release name, Release date
In Power BI as well as in Excel, the secret is in the data layout. You can't just have all your past and future data in two columns and magically expect that some of them will turn out red and orange instead of dark and light gray.
You will need to prep your data source to include stacked series for the light gray, dark gray, red and orange series. Stack all series on top of each other and make sure that where the red and orange series have values, there are only zero values for the gray series.
I suggest you use four columns for four stacked series and divide the values accordingly.
In Power BI, you can apply the same principle as in this Excel screenshot.
Let me know if you need help translating that to Power BI.
Edit: The Power BI data does not have to be static. You can build columns with Dax functions that arrange the data in the pattern required. Add four columns to your data model with the formulas
chtPastProdA = if(tblProducts[Date]<TODAY(),tblProducts[Product A],0)
chtPastProdB = if(tblProducts[Date]<today(),tblProducts[Product B],0)
chtFutureProdA = if(tblProducts[Date]>=today(),tblProducts[Product A],0)
chtFutureProdB = if(tblProducts[Date]>=today(),tblProducts[Product B],0)
Then build a stacked column chart and stack all four of these series. Format the colors.
For the "Today" marker you would need a custom label, which Power BI currently does not support. But since the demarcation between gray and red/yellow is today, it's quite obvious where the current date is, anyway.