Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
vishy86
Post Patron
Post Patron

Year Formatting not working in Current Selections Multi-row card

Hi,

 

I have a Year field YYYY which I have formatted as Data Type: Whole Number and Format: Whole Number.

I have also kept zero decimal places.

 

When I use this column in the table report, it correctly shows the Years as 1994, 1995 and so on till 2019.

 

However, I am also using this column as a report level filter and showing the current selections made using a measure as below - 

IF(ISFILTERED(Year), SELECTEDVALUE(Year, "Multiple Selections"), "No Selection").
In the current selections Multi-row card, the selected Year value appears with 2 decimal places i.e. 1994.00, 1995.00 and so on.
 
Please help to format it correctly in the Multi-row card.
 
Thanks,
Vishy

 

 

1 ACCEPTED SOLUTION
v-lid-msft
Community Support
Community Support

Hi @vishy86 ,

 

We can change the format of measure to whole number to fix this problem.

 

24.PNG26.PNG

 

 

 

BTW, pbix as attached.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-lid-msft
Community Support
Community Support

Hi @vishy86 ,

 

We can change the format of measure to whole number to fix this problem.

 

24.PNG26.PNG

 

 

 

BTW, pbix as attached.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.