cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Yagevendra
Helper III
Helper III

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!!!
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Learn Power BI 2nd Edition

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!