I need show arrow between countries in Google geochart. How do i do that?
Example : Chart "Number of tourists", Need to show the number of tourists flow between countries. One arrow from USA to Canada and another from Canada to USA, indicating the numbers on tooltips.
Related
I want to add a description to titles of columns in a matrix (Image of matrix)
For instance, when I hover over France, I want to display Europe. When I hover over Canada, I want to display North America, and so on. In my data I have a column named continent. Using a tooltip, I managed to display the description over data in the matrix. For instance, when I hover over 8587, it displays Europe.
Is there a way that I can display a particular continent when I hover over the country?
I have the following big table over 13 million rows.
ProductCode
ProductName
valueUSD
ExportOrImport
Dest
100100
Fish
120K
Export
China
100100
Fish
122M
Export
Russia
100150
Oil
120B
Export
China
100150
Oil
122M
Export
US
I need to display the following summary table on dashboard.
ProductCode
ProductName
valueUSD
% From total
TopDest
100150
Oil
120.122B
90%
China, US
100100
Fish
122.12M
10%
China, Russia
...
...
...
...
...
I have created a "button" that separates export from import. But now I do not know how to compose TopDest column where I need to show top 5 Countries where particular product ExportedOrImported. Also, how to properly formulate this question for google search? is it grouping by category display topN ?
Any ideas how to create this table??
I need to have 2 dropdown slicers, on the same table. For example, consider the following table:
Country
State
India
PUNJAB
India
DELHI
USA
CALIFORNIA
USA
TEXAS
I want the first slicer to show a single selection of Country as a dropdown and the second Slicer to show State based on Country. For example, if India is selected then the second slicer should be showing PUNJAB and DELHI.
How do I achieve this, currently if I select any state say PUNJAB, the country is also getting filtered and changed to INDIA and I am not able to select USA.
You can go to Edit interactions under the Format pane and edit the second slicer to not cross-filter the first one.
Alternatively, you could use both in the same slicer as a hierarchy.
Please consider this scenario:
I have a table in Power-BI that's like this:
Country Total Sales
-----------------------------
USA 2000
Canada 1400
Spain 3200
And I want to have a Pie chart in page that if user clicks on every rows, The pie shows sales type for that Country. For Example:
How can I connect these to visuals together?
Thanks
If the two visuals shows data from the same data source, then they will be "connected" by default, i.e. when the user clicks on a row in the table, the pie chart will show only the data from the selected country, and if the user clicks on a sector from the chart, the table will show only the amounts for this category.
If you have a table in your data source like this:
Then add a table in the report with columns Country and Sales like this:
By default amounts will be aggregated as sum, so the table will show sum of Sales per Country. You can change the default summarization of the currently selected field in Modeling tab:
Add a pie chart with Category field in the legend and Sales field for value. Change the value to be shown as percentage from the grand total like this:
Adding Sales field as tooltip will also show the amount when pointing to a sector:
Now when you click on a row in the table, the pie chart will show only the relevant data:
For more information take a look at Change how visuals interact in a Power BI report and Filters and highlighting in Power BI reports articles.
Well, it does not work if the pie chart is top-N pie chart. I open a new issue to the Power BI community to fix it. Here is a description of the issue: Basically, I have a top-N pie chart created for states. But, when I select a city in a table and the city is not in one of those states, the pie chart is not updated to show the state of the selected city. Instead, it remains to show those top-N states with 0% in every slices. This is wrong. It should show the top-N states of the "selected" cities.
I'm having trouble with use group by on pie chart - maybe it can be done differently.
I have a simple pie chart with only 2 values: Name, and their values (grouped by the Name).
The values are an amount and not a percentage. (The percentage may be displayed as well, but only if the amount will be displayed also).
And I need to somehow (I guess with group by) rename all the Names where the percentage ratio in this chart lower than, for example, 10% to a different string, like Group_with_10per_or_lower.
Any ideas how this can be done?
For example, imagine having States and their values of something. USA = 350; Canada = 250, Brazil = 200, Argentina = 150, Chile = 50. And what you have is a pie chart with these data. But you need to rename all states having 20% or less ratio of this value (Brazil, Argentina, and Chile) as Other for example. So you would have the pie chart with USA, Canada, and Other (Brazil + Argentina + Chile) but still have their values displayed in the chart and not their %. It can be both, but not just %.
Let's say you have a table Table1(state, value)
Create a measure:
Total = CALCULATE(SUM(Table1[value]),All(Table1))
Create a calculated column:
state2 = IF([value]<[total]*0.2,"Other",[state])
Use state2 in your visualisation.