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
Yagevendra
Helper IV
Helper IV

Same string showing double time in filter.

Hi All,
I am facing one problem in Power BI Desktop I created a calculated column and my code which I have written to create a column is:-

Platform = IF(table[Platform]="Total","Total (18+)",IF(table[Platform]="TotalFB","Total (18+)",IF(table [Platform]="TotalYoutube","Total (18+)",table[Platform])))

When I put newly created column in filter it shows me double “Total (18+)” just like below image:                  

Yagevendra_1-1641292602851.png

 

 



Yagevendra_2-1641292602855.png

 



And when I tries to click only single total it automatic select both total.

I double check my code and data dropdown shown me only single Total (18+).

Need help to resolve this issue.

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

Hi @Yagevendra ,

 

Is your problem solved? I tested it with your formula and it was successful, showing single ‘‘Total (18+)’’ in the slicer.

vstephenmsft_0-1641537688776.png

 

Best Regards,

Stephen Tao

 

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

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @Yagevendra ,

 

Is your problem solved? I tested it with your formula and it was successful, showing single ‘‘Total (18+)’’ in the slicer.

vstephenmsft_0-1641537688776.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-stephen-msft Thanks for your reply.
Yes, My problem resolved, I don't know what was the problem.
I simple removed calculated column and re created it with the same formula.

Greg_Deckler
Super User
Super User

@Yagevendra To eliminate possibilities of typos and such, perhaps try:

Platform = IF(table[Platform]="Total" || table[Platform]="TotalFB" || table [Platform]="TotalYoutube","Total (18+)",table[Platform])

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.