In the example below, the pop up displays all tags, not tags related to the highlighted card.
In the example above, the visualization comes out correct, however, it is mandatory to add a field from the Cartes_Etiquetas table in the visualization, so that it is displayed correctly filtered.
With the relationships being correct, how do I filter the data correctly, WITHOUT ADDING THE MIDDLE COLUMN IN THE VIEW?
Link to files on exemple...
https://drive.google.com/drive/folders/1eA8-DObEqnZNOInNehaO9UIlliO-SkPu?usp=sharing
Create a new measure as follows:
Measure = COUNTROWS('Cartões_Etiquetas')
Add the measure to the filter pane as follows:
Related
On a table of multiple columns, three columns form a hierarchical relationship:
Award Code (example: 505115)
Major Class code (example: 12XX)
Class Code (example: 1230)
There are three more columns: budget, actuals, and available budget (shown above).
On the second page of report, drill through is enabled and there are page filters:
Award Code
Major Class Code
Class Code
On this page, there is a table. If I click 1230 (red underline) on the first page of report and drill through to the second page, this is how the table looks like:
It is easy to see that this visual has three filters:
How can I remove the Class Code filter from this table, so that it displays all classes under a given Major Class Code. Using the above example, this is what I would like to have for the table:
UPDATE
This is the sample.pbix file in Dropbox
https://www.dropbox.com/s/vql16lyq40iccny/sample.pbix?dl=0
Create a new calculated table
Drill Table = data
On destination page, remove your old visual and create a new table visual using the fields from the new calculated table above.
Create a drill measure
Drill Measure =
VAR a = SELECTEDVALUE(data[Major Class Code])
VAR b = SELECTEDVALUE('Drill Table'[Major Class Code])
RETURN IF(a = b, 1)
Add the drill measure to the visual filter as follows.
Sample Link
You can't clear the drill through filters but you can work around it with a little trick. You create duplicate columns for award, major and class and you use those for your visual on your drill through page instead of the ones passed through in the filters on the drill through from your originating page. You need a measure to recreate the filter context you desire on your drill through page. Here is a video showing how to do it. If you have a sample .pbix, I can show you exact steps.
https://www.youtube.com/watch?v=frC3B_Dk3T8
Hello I am trying to raise awareness about his subject I am facing this issue, I've posted on microsoft PBI community as wel, Did you even know about this, if so, how did you do to workaround this?
https://community.powerbi.com/t5/Desktop/Beware-Misleading-behaviour-using-Select-all-or-none-selected/m-p/1982650#M749494
As stated in the post, I have just found half a paragraph hinting about this behaviour and all the people that I've talked to did not even know it behaved this way.
TL:DR. If you use the filter panel to filer a slicer (filter on this visual) in order to restrict the selection of a slicer (so your end user does not get lost in too many options or you want a dynamic slicer showing last x months, TOP N , basically any other advanced filtering optins given using this feature).
It only visually filters the slicer so if the user ends up using "select all" or even clearing the selection, all the data would be selected even the data you (as designer) wanted to filter out. Which is misleading since the end user would see the tag "all" over the slicer selection but when clicking on it it would only show the filtered out values, so they would naturally assume that "all" means just those values and not allvalues (hidden values included).
Example
there are only two values to be selected in the slicer but the select all option actally seelcts all values including hidden ones
One thing to check first, I bet you did not apply the filtered values in the filter pane on the whole page, rather you applied it only on the visual. Try to apply that on the whole page and it seems to work for me.
I am trying to use the drill through feature in Power BI. I have two reports. I have added my fields into the drill through section for my second page. When the user right clicks on an item and drills through it does show 'Page 2'. It also shows the filters correctly but for some reason it doesnt actually filter the matrix table. It still shows all.
The filter section shows all the filters with (All) next to it. The drill through shows the correctly filtered one ticked. But the actual matrix table still shows All. When I click the filter button of my matrix visualisation it does show its being filtered but it looks like the table is not refreshing properly!
Any ideas?
I have asTimeline visual and below a Table. The idea is to display in the Table a Link to the specified record in another system. The problem is that I would like to show this Table only when there is exactly 1 record selected in asTimeline. Generally, the filtering works fine, but the table should be shown when there is only 1 element in it, and hidden otherwise.
Currently it is something like this:
Now, I have tried using the solution with a Transparent measure, similar to this. Tbe problem is that it doesn't work, the background of the table visual doesn't change when changing the selection (it is not a color problem, I have tried others). The question is whether the ISFILTERED is triggered at all when changing the selection?
Currently I have Make Transparent measure defined as
Make Transparent = IF(ISFILTERED(Table[Id]), "Red", "Blue")
and in asTimeline I have column Id specified as Entity.
I have a different idea about how to achieve that, It does not hide objects but uses a measure that returns values only when there is only one value selected.
Link = SELECTEDVALUE('Table'[link],BLANK())
or
Link = SELECTEDVALUE('Table'[link],"Please select only one Id")
A different formula might be
Link = IF(HASONEVALUE('Table'[Id]), SELECTEDVALUE('Table'[Link]), BLANK() )
Put one of those measures in a table, alone, and you should achieve what you need (also format the measure as "web URL").
I have gone through this tutorial
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-tutorial-analyzing-sales-data-from-excel-and-an-odata-feed/
and was having some issues at Task 4 - Step 1 that I have somewhat resolved but would like to find a better way to complete the task.
The issue of this is that the title of my graph is Sum of UnitsInStock by ProductName but I just want it to be "UnitsInStock by ProductName".
See image below:
Sum of UnitsInStock by ProductName
I think the issue is that in the tutorial link it has the "UnitsInStock" column is aggregated already (which you can see in the field pane) whereas I had to aggregate the data myself. I think to fix this I just have to aggregate the data in the query editor but I haven't been able to figure out how to do this.
If someone could point me in the right direction that would be great!
The button you want is Group By - it's on the Home ribbon in the central Transform section.
Select your grouping columns before hitting it, to preload them in the Group By window. I haven't followed that tutorial so you will need to decide what to select. Any column you don't select for Group By or aggregate (see below) will be removed by this Step.
In the bottom section of the Group By window, click the + button to add an aggregation, then choose Sum and choose your column (e.g. UnitsInStock ). You have to type the output column name.