The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I use a mactrice to report textual data.
As depicted in the picuture, I dont' want a "sum" of the values by each Entité or date.
So far, I removed subtotals options, but with very limited effect.
I want the values to stay with its line and stay invisible otherwise.
How can I set that?
Solved! Go to Solution.
After many experimentations, the best solution was to use Inscope to test whether or not the returned value is at the right hierachy level. If not, the formula returns nothing in the matrix, as expected.
Whitout Inscope
With Inscope
datesRetournee =
VAR idNotification = SELECTEDVALUE (Notification[Id])
VAR dateNotificationTrouvee =
CALCULATE( IF(ISINSCOPE(Notification[Id]), MINX( FILTER(Notification, Notification[Id]=idNotification), Notification[dateNotification])))
RETURN
dateNotificationTrouvee
@PierreCA One option would be to use HASONEVALUE in a measure that is used to conditionally format the text to the background color if there is not one value and if there is display it in white.
Hello @Greg_Deckler ,
Thanks for your swift response.
Do you have an exemple of your proposition?
After many experimentations, the best solution was to use Inscope to test whether or not the returned value is at the right hierachy level. If not, the formula returns nothing in the matrix, as expected.
Whitout Inscope
With Inscope
datesRetournee =
VAR idNotification = SELECTEDVALUE (Notification[Id])
VAR dateNotificationTrouvee =
CALCULATE( IF(ISINSCOPE(Notification[Id]), MINX( FILTER(Notification, Notification[Id]=idNotification), Notification[dateNotification])))
RETURN
dateNotificationTrouvee
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
77 | |
70 | |
48 | |
41 |
User | Count |
---|---|
140 | |
112 | |
72 | |
64 | |
63 |