Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi!
I need to replace the cells that have "infinity" with another word like "No sales". The table that has infinity is a variation %
Thanks!!
Solved! Go to Solution.
HI @Miguelcrz ,
Modify your DAX expression to as follows:
Calc = DIVIDE(sales A, Sales B, 0) - 1
Also Power BI doesn't allow multiple datatypes in a single column. You will have to either have them as ZEROES which the DIVIDE function handles in Power BI.
Thanks,
Pragati
@Miguelcrz , Power bi does not allow variable data type. In means, you need to make it text ane also take care of data format.
If it coming power bi then use divide function in place of /
If it coming from source, what is the data type of column
Hi @Miguelcrz ,
Is this variation % calculated any dax expression or it is coming directly from source data?
Thanks,
Pragati
HI @Miguelcrz ,
Modify your DAX expression to as follows:
Calc = DIVIDE(sales A, Sales B, 0) - 1
Also Power BI doesn't allow multiple datatypes in a single column. You will have to either have them as ZEROES which the DIVIDE function handles in Power BI.
Thanks,
Pragati
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |