Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all,
Not sure anyone encounters below, all the % went haywire once published to the Power BI service.
Also, the color theme went off.
I've tried republishing a few times, but it doesn't work.
I Hope can get some guidance, thank you!😀
(Left side is the power bi service while the right side is power bi desktop)
Solved! Go to Solution.
Hi,
Upon a few more tests and errors.
I solve the issue, but I still can't figure out why it did work before, but not now. It's mainly caused by my scaling calculation group, so my solution is just to change the below DAX in my scaling calculation group.
Below is the old DAX in my scaling calculation group:
VAR _SelectedItem = SELECTEDMEASURENAME () //Below are the measure won't be scaled VAR _NWCDays = OR ( CONTAINSSTRING ( _SelectedItem, "DSO" ), CONTAINSSTRING ( _SelectedItem, "DIO" ) || CONTAINSSTRING ( _SelectedItem, "DPO" ) ) VAR _Percentage = CONTAINSSTRING ( _SelectedItem, "%" ) VAR _RelativeVariance = CONTAINSSTRING ( _SelectedItem, "RelativeVar" ) VAR _PercentagePoint = CONTAINSSTRING ( _SelectedItem, "PercentagePoint" ) VAR _Rank = CONTAINSSTRING ( _SelectedItem, "Rank" ) VAR _DynamicText = CONTAINSSTRING ( _SelectedItem, "Dynamic" ) RETURN SWITCH ( TRUE (), _NWCDays, SELECTEDMEASUREFORMATSTRING (), _Percentage, SELECTEDMEASUREFORMATSTRING (), _RelativeVariance, SELECTEDMEASUREFORMATSTRING (), _PercentagePoint, SELECTEDMEASUREFORMATSTRING (), _Rank, SELECTEDMEASUREFORMATSTRING (), _DynamicText, SELECTEDMEASUREFORMATSTRING (), DIVIDE ( SELECTEDMEASURE (), 1000000 ) )
Below is the new DAX in my scaling calculation group:
VAR _SelectedItem = SELECTEDMEASURENAME () //Below are the measure won't be scaled VAR _NWCDays = OR ( CONTAINSSTRING ( _SelectedItem, "DSO" ), CONTAINSSTRING ( _SelectedItem, "DIO" ) || CONTAINSSTRING ( _SelectedItem, "DPO" ) ) VAR _Percentage = CONTAINSSTRING ( _SelectedItem, "%" ) VAR _RelativeVariance = CONTAINSSTRING ( _SelectedItem, "RelativeVar" ) VAR _PercentagePoint = CONTAINSSTRING ( _SelectedItem, "PercentagePoint" ) VAR _Rank = CONTAINSSTRING ( _SelectedItem, "Rank" ) VAR _DynamicText = CONTAINSSTRING ( _SelectedItem, "Dynamic" ) RETURN SWITCH ( TRUE (), _NWCDays, SELECTEDMEASURE (), _Percentage, SELECTEDMEASURE (), _RelativeVariance, SELECTEDMEASURE (), _PercentagePoint, SELECTEDMEASURE (), _Rank, SELECTEDMEASURE (), _DynamicText, SELECTEDMEASURE (), DIVIDE ( SELECTEDMEASURE (), 1000000 ) )
Hi,
Upon a few more tests and errors.
I solve the issue, but I still can't figure out why it did work before, but not now. It's mainly caused by my scaling calculation group, so my solution is just to change the below DAX in my scaling calculation group.
Below is the old DAX in my scaling calculation group:
VAR _SelectedItem = SELECTEDMEASURENAME () //Below are the measure won't be scaled VAR _NWCDays = OR ( CONTAINSSTRING ( _SelectedItem, "DSO" ), CONTAINSSTRING ( _SelectedItem, "DIO" ) || CONTAINSSTRING ( _SelectedItem, "DPO" ) ) VAR _Percentage = CONTAINSSTRING ( _SelectedItem, "%" ) VAR _RelativeVariance = CONTAINSSTRING ( _SelectedItem, "RelativeVar" ) VAR _PercentagePoint = CONTAINSSTRING ( _SelectedItem, "PercentagePoint" ) VAR _Rank = CONTAINSSTRING ( _SelectedItem, "Rank" ) VAR _DynamicText = CONTAINSSTRING ( _SelectedItem, "Dynamic" ) RETURN SWITCH ( TRUE (), _NWCDays, SELECTEDMEASUREFORMATSTRING (), _Percentage, SELECTEDMEASUREFORMATSTRING (), _RelativeVariance, SELECTEDMEASUREFORMATSTRING (), _PercentagePoint, SELECTEDMEASUREFORMATSTRING (), _Rank, SELECTEDMEASUREFORMATSTRING (), _DynamicText, SELECTEDMEASUREFORMATSTRING (), DIVIDE ( SELECTEDMEASURE (), 1000000 ) )
Below is the new DAX in my scaling calculation group:
VAR _SelectedItem = SELECTEDMEASURENAME () //Below are the measure won't be scaled VAR _NWCDays = OR ( CONTAINSSTRING ( _SelectedItem, "DSO" ), CONTAINSSTRING ( _SelectedItem, "DIO" ) || CONTAINSSTRING ( _SelectedItem, "DPO" ) ) VAR _Percentage = CONTAINSSTRING ( _SelectedItem, "%" ) VAR _RelativeVariance = CONTAINSSTRING ( _SelectedItem, "RelativeVar" ) VAR _PercentagePoint = CONTAINSSTRING ( _SelectedItem, "PercentagePoint" ) VAR _Rank = CONTAINSSTRING ( _SelectedItem, "Rank" ) VAR _DynamicText = CONTAINSSTRING ( _SelectedItem, "Dynamic" ) RETURN SWITCH ( TRUE (), _NWCDays, SELECTEDMEASURE (), _Percentage, SELECTEDMEASURE (), _RelativeVariance, SELECTEDMEASURE (), _PercentagePoint, SELECTEDMEASURE (), _Rank, SELECTEDMEASURE (), _DynamicText, SELECTEDMEASURE (), DIVIDE ( SELECTEDMEASURE (), 1000000 ) )
@tomtang , Clear browser cache, refresh and try.
Republish -> Clear browser cache, refresh and try.
if this does not resolve, you might have to log an issue
@amitchandak Thanks for the response, I've tried to republish and clear the cache, also refreshed again in the app and report. Still not working!
Thank you so much!
User | Count |
---|---|
117 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |