Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone.
I need help with i have a table with data and a column called "country" - that has all european country plus one entry called "Europe".
What i need to know is if there's a way to when on the slicer I select "ALL" the calculations on the table shows the values of "Europe", instead of the summarization of all countries plus the Europe row.
Thank you in advance for your help.
@Anonymous , Try a measure like
if(isfiltered(table[country]), count(Table[Value]), calculate(count(Table[Value]), filter(Table, Table[country] ="Europe")))
@amitchandak, didn't worked.
My structure is
Table 1 - COD_CTRY with only a Column with all the European countries plus one entry called Europe.
Table 2 - TBL_Values with two columns Country and Values
When I filter the COD_CTRY in the slicer for example "Austria" the data should be the value for Austria, and when i remove the filters so the slicer has "All" the Europe value should appear, and you solution always shows the Europe value.
sorry i had to re-arrange the tables.
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |