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.
helllo all,
please, i have two visuals that don't interact correctely, (a bar chart and a matrix), when i clic on the bar chart it doesn't filter on the matrix, it happens only with one measure " Variation CA", if i change the measure it filters correctly
may be the problem is from the measure ?!!
th Measue calculates the variation of total sales by months:
Solved! Go to Solution.
Indeed. The -1 is creating a problem of forcing all rows to appear regardless of sny filter. That is simply because -1 cannot be filtered and will never be blank.
Please try
Variation CA =
VAR VentNet = [Vente Net]
RETURN
IF (
VentNet <> BLANK (),
DIVIDE (
VenteNet,
CALCULATE ( [Vente Net], DATEADD ( CALENDRIER[Date], -1, MONTH ) ),
2
)
)
Indeed. The -1 is creating a problem of forcing all rows to appear regardless of sny filter. That is simply because -1 cannot be filtered and will never be blank.
Please try
Variation CA =
VAR VentNet = [Vente Net]
RETURN
IF (
VentNet <> BLANK (),
DIVIDE (
VenteNet,
CALCULATE ( [Vente Net], DATEADD ( CALENDRIER[Date], -1, MONTH ) ),
2
)
)
thank you so much my friend, that works perfectly
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |