Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
I have created a measure and building a simple report with Recorded Date and measure as columns, I'm using Year(RecordedDate) as slicer, When i select a year in slicer my report is showing zero's for all the year and giving values only for slicer selected Year,
Thanks in Advance.
Hi @VenkatTav ,
You will get 0 since your code added to 0 if its blank, you can update your code as below:-
CNT_LNBR_CH07 = CALCULATE(COUNT(LOAN[LOAN_NBR]),LOAN[CHAPTER_NBR]=7)
For further assistance please help with below details:-
Could you please share your sample data in raw format not screenshot?
Please let us know your date also coming from Loan table?
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
You can not display blank values in reports , you have to convert blanks or nulls to 0's in reports, it will be usual case in all the organizations.
Yes Recorded date is coming from Loan table only
Consider this as sample data.
| Loan Recorded date | Loan NBR | Chapter |
| 01-01-1988 | 123451 | 7 |
| 02-01-1988 | 134562 | 7 |
| 03-01-1988 | 123453 | 7 |
| 04-01-1988 | 123454 | 11 |
| 05-01-1992 | 123458 | 11 |
| 05-01-1992 | 123459 | 11 |
| 05-01-1992 | 123456 | 13 |
| 05-01-1992 | 123457 | 13 |
| 09-01-1993 | 123458 | 13 |
| 10-01-1993 | 123496 | 13 |
@VenkatTav , You could create a another measure as below and use it as filter on visual:-
_filter =
IF (
YEAR ( MAX ( Loan[RecordedDate] ) )
= YEAR ( SELECTEDVALUE ( Loan[RecordedDate] ) )
&& NOT ( ISBLANK ( MAX ( Loan[RecordedDate] ) ) ),
1,
0
)
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |