Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap
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
User | Count |
---|---|
88 | |
74 | |
69 | |
59 | |
56 |
User | Count |
---|---|
40 | |
38 | |
34 | |
32 | |
28 |