Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Dear all,
I have an issue with the conditionl formatting of a header in a pie chart.
Date | Agegroup | datasource | Customer |
01.07.20 | none | old | 1 |
01.07.20 | none | old | 1 |
01.07.20 | none | old | 1 |
05.07.20 | 18-25 | new | 1 |
15.07.20 | 18-25 | new | 1 |
30.07.20 | 25+ | new | 1 |
The pie chart simply shows the distribution of each agegroup. One for 25+, two for 18-25 and 3 for none. Through "Filter on this visual I am filtering out "none" since I don't want to see the amount of the agegroup none in my chart.
I want the header to be condiationally formated so that the title for the diagram is "AGE*" when the customer has data from the old and new datasource (01-07-30.07) and only "AGE" if only data from the new datsource is selected.
my dax currently looks like this
The issue here is that within the diagram I am filtering out "none" values but I would still like the header to have the extension "*" as the user has slected a timeframe that contains both data from the old and from the new source.
How do I change my dax formular so that it evaluates the values in the column datasource and ignoring the filter on the visual?
Hi @dats ,
Is this problem sloved?
If not, please let me know.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
so the actual question here would be how can I "deactivate" the filter on the AGE for the dax formular but keep it active in the cisual so "none" does not appear
@dats In the above example there is no such "none" Data
Proud to be a Super User!
@VijayP thanks for the answer
lets say the user chooses a timeframe between 01.07 and 30.07 and a customer "1". Then for this customer in general there is data from the old and the new source. In this case I woul like the header to have the extension "*" even if the pie chart does not show the value none
Then The function should be
Title = IF(SELECTEDVALUE('Table'[datasource])="Old","AGE",
IF(SELECTEDVALUE('Table'[datasource])="*","A*"))
Proud to be a Super User!
I think it doenst realy solve the issue since "none" is filtered out in the filsual filter.
This is would I woul like to achieve in the end. I dont know how to tell the dax formular for the header to not include the filtering made in "filter on this visual"
User selection | header |
01.07-30.07 | AGE* |
05.07.-30-07 | AGE |
01.07.-01.07 | AGE* |
I think you cannot customise the Column Headers but only the Title of the Table
Proud to be a Super User!
sorry yes this was just an example of outcomes of different combinations. The title would be either AGE or AGE*
Hi @dats ,
It should be clarified that if you apply a filter at the visual level, it will affect the current line content of measure. That is to say, when you customize the title, only display the corresponding measure after filtering.
The alternative is to create a nested visual. Set the table title to empty and set the transparency of this visual, and then create a card visual and turn off category label to place in the table title position.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@dats Try using this Formula
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
85 | |
66 | |
52 | |
47 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |