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 guys !!
I need to hide an specific field from my matrix
If I use apply setting to subtotals removes fournisseurs and nom de la ressource fields:
I need just to hide the field from fournisseur
So I think I need to create a new calculated column " age" mesure, to not count this field:
My current calculated column mesure:
Solved! Go to Solution.
Hi @fbittencourt ,
I hope the information provided is helpful. Feel free to reach out if you have any further questions or would like to discuss this in more detail. If responses provided answers your question, please accept it as a solution so other community members with similar problems can find a solution faster.
Thank you!!
Hi @fbittencourt ,
I hope the information provided is helpful. Feel free to reach out if you have any further questions or would like to discuss this in more detail. If responses provided answers your question, please accept it as a solution so other community members with similar problems can find a solution faster.
Thank you!!
Hi @fbittencourt ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If the responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you!!
Hi @fbittencourt ,
May I ask if the provided solution helped in resolving the issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you!!
Hi @fbittencourt ,
Thank you for reaching out to Microsoft Fabric Community.
I have created a measure to display blank in the matrix and used the newly created measure in the matrix to show values. Attached is the pbix file for reference. Please modify the DAX query below as per your requirements.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thank you!!
Hello sorry to bother you, I am not able change for a mesure ( I think because the date diff calculated based on the year), I have tried with ISFILTERED , but unfortunately do not work as well, we have three levels of rows to filter the matrix, even if I use one of the rows to try to filter the result is the same.
If you are to adjust the logic I Appreciatte it
REF_FOURNISSEUR [Fournisseurs] or the other row REF_RESSOURCE[Nom de la ressource]
Hi @fbittencourt ,
To hide a specific subtotal (like for "fournisseur") in a matrix without affecting others, you can use a DAX measure with ISINSCOPE or HASONEVALUE to control visibility. Here's an example:
Age Measure = IF( ISINSCOPE(REF_RESSOURCE[Fournisseur]), BLANK(), IF( REF_RESSOURCE[Prénom ressource] = "", 0, YEARFRAC( REF_RESSOURCE[Date d'arrivée initiale], IF(ISBLANK(REF_RESSOURCE[Date de départ]), TODAY(), REF_RESSOURCE[Date de départ]), 1 ) ) )
This will return blank when the matrix is summarizing by "Fournisseur", effectively hiding that subtotal.
translation and formatting supported by AI
Thanks for your quick answer,
The measure is fine no issues, but we are not retrieving the expected "BLANK "results see the table, I have tried also HASONVALUE:
OR
Thanks for the follow-up. If neither ISINSCOPE nor HASONEVALUE is returning BLANK() as expected, it might be due to how the matrix visual is aggregating the data. Try wrapping the logic in a measure instead of a calculated column, and ensure the field you're targeting is actually in the current evaluation context.
Also, consider using ISFILTERED or checking the level of granularity with SELECTEDVALUE to better control when the measure returns a value. Let me know if you'd like help adjusting the logic based on your matrix structure.
translation and formatting supported by AI
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
51 | |
50 | |
48 |