The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have a data which appears as following :
I’m having trouble to hide from matrix values in yellow.
First, hide value and keep it just in subtotals. (data)[Evolution 180j]
Second, hide (data)[LAST %180j] from subtotals.
Evolution 180J = SWITCH( TRUE(),
ISINSCOPE(data[SITE]) && ISINSCOPE(data[date]),
BLANK(), [LAST % 180 j] - [First % 180 j] )
Last 180j = CALCULATE (SUM (data[180 j]) ,
LASTNONBLANK( data[date], sum(data[180 j]) ))
Please, any help?
Thank's in advance
Hi @SoufTC ,
For Evolution 180J, can only appear blank as shown, but not completely hide them. For LAST %180J, you can use the same function ISINSCOPE to display blank in the subtotal.
Last 180j =
IF (
ISINSCOPE ( data[date] ),
CALCULATE (
SUM ( data[180 j] ),
LASTNONBLANK ( data[date], SUM ( data[180 j] ) )
),
BLANK ()
)
You can only show them blank, but not remove/hide them, it's by design.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
@v-yanjiang-msft thank you for your answer but I need to hide them and not show them blank...
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
180 | |
88 | |
71 | |
48 | |
46 |