Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need always show blanks values by date,
now it show blanks only when whole period in slicer is selected
but if i move slicer, blanks is gone
I have a date slicer which refer to Date[Date],
relations on 'Table'[Date] = Date[Date]
also i have measure
193 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
'Table',
'Table'[State] IN { "on", "edit" }
)
)
Solved! Go to Solution.
Solved:
Blank |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
2. make relation on Date[Month]
3. Make additional measure for blanks
194 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
ALL('Table'),
'Table'[State] IN { "on", "edit" } &&
ISBLANK('Table'[date])
)
)
4. final measure
193 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
'Table',
'Table'[State] IN { "on", "edit" } &&
'Table'[date]<> BLANK()
)
)
+ [194]
@Analitika , why date is blank, because not all dates are there in date table or it is blank in table ?
Try like
193 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
'Table',
'Table'[State] IN { "on", "edit" } || isblank('Table'[Date] )
)
)
Dates is blanks in a Table, so your example is not work.
😕
Solved:
Blank |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
2. make relation on Date[Month]
3. Make additional measure for blanks
194 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
ALL('Table'),
'Table'[State] IN { "on", "edit" } &&
ISBLANK('Table'[date])
)
)
4. final measure
193 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
'Table',
'Table'[State] IN { "on", "edit" } &&
'Table'[date]<> BLANK()
)
)
+ [194]
Hi @Analitika ,
You probably need a dynamic end date to your Calendar Table.
Have a look at this video.
https://www.youtube.com/watch?v=qdhsq23cQhg
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |