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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Accent bar (color) on new card not working (calculation group)

After a long fight I finaly made a new card visual which works with calculation group. I tried to set up a accent bar color by a measure (fx) which depends on selected calculation item in a cell. Let call the measure "fx_color". Each item of calculation group has a dax statement which make the item and its calcution no influecing the fx_color (i faund it is crucial). So there is something like "

IF(NOT ISSELECTEDMEASURE([fx_color]), calc_item1, SELECTEDMEASURE())". calc_item1 is a VAR defined in the begining of the item. I put a mesaure fx_color into fx of accent bar but it deos not work. It work on other visual like a table. To check if the measure result is ok i even tried it on a details section => works fine. But not in a accent bar. 

Zrzut ekranu 2025-01-20 103826.png

Status: Investigating
Comments
Anonymous
Not applicable

Hi  @Marcin82 

 

Based on the above information, It's a reproducible issue. Due to the new reply policy, I would suggest opening a Support Ticket.

If you are a Power BI Pro or Fabric licensee, you can create a support ticket for free and a dedicated Microsoft engineer will come to solve the problem for you. 
It would be great if you continue to share in this issue to help others with similar problems after you know the root cause or solution.

 

The link of Power BI Support: Support | Microsoft Power BI

For how to create a support ticket, please refer to How to create a support ticket in Power BI - Microsoft Power BI Community

 

Best Regards,
Community Support Team _ Caitlyn