# COMMENT-tag (Energy-rating) to POPULARIMETER-tag (Star-rating) - How (Part2)?

**URL:** https://community.mp3tag.de/t/comment-tag-energy-rating-to-popularimeter-tag-star-rating-how-part2/42491
**Category:** Support
**Created:** [July 28, 2018, 9:10pm UTC](https://community.mp3tag.de/t/comment-tag-energy-rating-to-popularimeter-tag-star-rating-how-part2/42491 "2018-07-28T21:10:10Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [July 29, 2018, 9:05am UTC](https://community.mp3tag.de/t/comment-tag-energy-rating-to-popularimeter-tag-star-rating-how-part2/42491/2 "2018-07-29T09:05:26Z")

</div>

> [@bascurtiz](#):
>
> How do I get POPULARIMETER(Star-rating) filled in 1 star, when COMMENT field contains [EN]Low ?  
> How do I get POPULARIMETER(Star-rating) filled in 3 stars, when COMMENT field contains [EN]Mid ?  
> How do I get POPULARIMETER(Star-rating) filled in 5 stars, when COMMENT field contains [EN]High ?

You could create an action of the type "Format value" for POPULARIMETER  
Format string: `$replace(%comment%,[EN]High,*****,[EN]Mid,***,[EN]Low,*)`  
and then an action to cut away the [MO... part:  
Action of the type "Guess value"  
Source: %popularimeter%  
Target: %popularimeter% [%dummy%

---

_[View the full topic](https://community.mp3tag.de/t/comment-tag-energy-rating-to-popularimeter-tag-star-rating-how-part2/42491)._
