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.
I have a switch customers and sales (%)
i used the format to show % on sale but it converts to text and visual has no values.
Is any workaround?
Maybe show other visual when changing the switch on slicer?
Solved! Go to Solution.
Hi @giorgiokatr ,
Sorry for that we cannot put text in chart. But we create a sample you can refer.
1. Create a new table to be a slicer using Enter data.
2. Then we can create two measures, and configure one measure “%”.
Percent = IF(SELECTEDVALUE('Table (2)'[slicer])="Percent",CALCULATE(SUM('Table'[value])),BLANK())
Value_ = IF(SELECTEDVALUE('Table (2)'[slicer]) = "Value_",CALCULATE(SUM('Table'[value])),BLANK())
3. At last, we can create a chart and put them to Value, and the result like this, use the slicer to control % or value.
BTW, pbix as attached.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @giorgiokatr ,
Sorry for that we cannot put text in chart. But we create a sample you can refer.
1. Create a new table to be a slicer using Enter data.
2. Then we can create two measures, and configure one measure “%”.
Percent = IF(SELECTEDVALUE('Table (2)'[slicer])="Percent",CALCULATE(SUM('Table'[value])),BLANK())
Value_ = IF(SELECTEDVALUE('Table (2)'[slicer]) = "Value_",CALCULATE(SUM('Table'[value])),BLANK())
3. At last, we can create a chart and put them to Value, and the result like this, use the slicer to control % or value.
BTW, pbix as attached.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@giorgiokatr , you should % from the data format. % should not be mutipled by 100
can not do this. My switch dax has a decimal value for the first switch and the second switch is percent. So i cant format the dax measure from there.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
97 | |
80 | |
67 | |
63 |
User | Count |
---|---|
146 | |
110 | |
107 | |
86 | |
63 |