Forum Discussion

Amar-Agnihotri's avatar
Amar-Agnihotri
Resolver I
4 years ago

Data Flow refreshing Failed

HI ! I am getting this error while refreshing data flow -

On-Prem execution not supported for entity 'e36ce49b-04b8-4ed8-8536-c38c0a45c6c7/aa6f50f7-38b9-4937-8ee1-3f2798756730/CurrencyER_2Y' since it refers to another entity.. RootActivityId = e6ab7fa5-ddbd-44d1-9dc5-deba19828d93.Param1 = e36ce49b-04b8-4ed8-8536-c38c0a45c6c7/aa6f50f7-38b9-4937-8ee1-3f2798756730/CurrencyER_2Y Request ID: 9c705d3f-02aa-981e-2fcd-b0578f4fd4ed.

Here is my data flow codes --

Table CurrencyER_2Y

let
  DateFrom = Text.End("0"&Text.From(Date.Day(DateTime.LocalNow())),2)&"%2F"&Text.End("0"&Text.From(Date.Month(DateTime.LocalNow())),2)&"%2F"&Text.From(Date.Year(DateTime.LocalNow())-2),
  DateTo = Text.End("0"&Text.From(Date.Day(DateTime.LocalNow())),2)&"%2F"&Text.End("0"&Text.From(Date.Month(DateTime.LocalNow())),2)&"%2F"&Text.From(Date.Year(DateTime.LocalNow())),
  Source = Web.Contents("https://www.mnb.hu/en/arfolyam-tablazat/",[RelativePath="?deviza=rbCurrencyAll&devizaSelected=ZAR&datefrom="&DateFrom&"&datetill="&DateTo&"&order=1"]),
  #"Extracted Table From Html" = Html.Table(Source, {{"Column1""TABLE.pricetable > * > TR > :nth-child(1)"}, {"Column2""TABLE.pricetable > * > TR > :nth-child(2)"}, {"Column3""TABLE.pricetable > * > TR > :nth-child(3)"}, {"Column4""TABLE.pricetable > * > TR > :nth-child(4)"}, {"Column5""TABLE.pricetable > * > TR > :nth-child(5)"}, {"Column6""TABLE.pricetable > * > TR > :nth-child(6)"}, {"Column7""TABLE.pricetable > * > TR > :nth-child(7)"}, {"Column8""TABLE.pricetable > * > TR > :nth-child(8)"}, {"Column9""TABLE.pricetable > * > TR > :nth-child(9)"}, {"Column10""TABLE.pricetable > * > TR > :nth-child(10)"}, {"Column11""TABLE.pricetable > * > TR > :nth-child(11)"}, {"Column12""TABLE.pricetable > * > TR > :nth-child(12)"}, {"Column13""TABLE.pricetable > * > TR > :nth-child(13)"}, {"Column14""TABLE.pricetable > * > TR > :nth-child(14)"}, {"Column15""TABLE.pricetable > * > TR > :nth-child(15)"}, {"Column16""TABLE.pricetable > * > TR > :nth-child(16)"}, {"Column17""TABLE.pricetable > * > TR > :nth-child(17)"}, {"Column18""TABLE.pricetable > * > TR > :nth-child(18)"}, {"Column19""TABLE.pricetable > * > TR > :nth-child(19)"}, {"Column20""TABLE.pricetable > * > TR > :nth-child(20)"}, {"Column21""TABLE.pricetable > * > TR > :nth-child(21)"}, {"Column22""TABLE.pricetable > * > TR > :nth-child(22)"}, {"Column23""TABLE.pricetable > * > TR > :nth-child(23)"}, {"Column24""TABLE.pricetable > * > TR > :nth-child(24)"}, {"Column25""TABLE.pricetable > * > TR > :nth-child(25)"}, {"Column26""TABLE.pricetable > * > TR > :nth-child(26)"}, {"Column27""TABLE.pricetable > * > TR > :nth-child(27)"}, {"Column28""TABLE.pricetable > * > TR > :nth-child(28)"}, {"Column29""TABLE.pricetable > * > TR > :nth-child(29)"}, {"Column30""TABLE.pricetable > * > TR > :nth-child(30)"}, {"Column31""TABLE.pricetable > * > TR > :nth-child(31)"}, {"Column32""TABLE.pricetable > * > TR > :nth-child(32)"}, {"Column33""TABLE.pricetable > * > TR > :nth-child(33)"}, {"Column34""TABLE.pricetable > * > TR > :nth-child(34)"}, {"Column35""TABLE.pricetable > * > TR > :nth-child(35)"}, {"Column36""TABLE.pricetable > * > TR > :nth-child(36)"}, {"Column37""TABLE.pricetable > * > TR > :nth-child(37)"}, {"Column38""TABLE.pricetable > * > TR > :nth-child(38)"}, {"Column39""TABLE.pricetable > * > TR > :nth-child(39)"}, {"Column40""TABLE.pricetable > * > TR > :nth-child(40)"}, {"Column41""TABLE.pricetable > * > TR > :nth-child(41)"}, {"Column42""TABLE.pricetable > * > TR > :nth-child(42)"}, {"Column43""TABLE.pricetable > * > TR > :nth-child(43)"}, {"Column44""TABLE.pricetable > * > TR > :nth-child(44)"}, {"Column45""TABLE.pricetable > * > TR > :nth-child(45)"}, {"Column46""TABLE.pricetable > * > TR > :nth-child(46)"}, {"Column47""TABLE.pricetable > * > TR > :nth-child(47)"}, {"Column48""TABLE.pricetable > * > TR > :nth-child(48)"}, {"Column49""TABLE.pricetable > * > TR > :nth-child(49)"}, {"Column50""TABLE.pricetable > * > TR > :nth-child(50)"}, {"Column51""TABLE.pricetable > * > TR > :nth-child(51)"}, {"Column52""TABLE.pricetable > * > TR > :nth-child(52)"}, {"Column53""TABLE.pricetable > * > TR > :nth-child(53)"}, {"Column54""TABLE.pricetable > * > TR > :nth-child(54)"}, {"Column55""TABLE.pricetable > * > TR > :nth-child(55)"}, {"Column56""TABLE.pricetable > * > TR > :nth-child(56)"}, {"Column57""TABLE.pricetable > * > TR > :nth-child(57)"}, {"Column58""TABLE.pricetable > * > TR > :nth-child(58)"}, {"Column59""TABLE.pricetable > * > TR > :nth-child(59)"}, {"Column60""TABLE.pricetable > * > TR > :nth-child(60)"}, {"Column61""TABLE.pricetable > * > TR > :nth-child(61)"}, {"Column62""TABLE.pricetable > * > TR > :nth-child(62)"}, {"Column63""TABLE.pricetable > * > TR > :nth-child(63)"}, {"Column64""TABLE.pricetable > * > TR > :nth-child(64)"}, {"Column65""TABLE.pricetable > * > TR > :nth-child(65)"}, {"Column66""TABLE.pricetable > * > TR > :nth-child(66)"}, {"Column67""TABLE.pricetable > * > TR > :nth-child(67)"}, {"Column68""TABLE.pricetable > * > TR > :nth-child(68)"}, {"Column69""TABLE.pricetable > * > TR > :nth-child(69)"}, {"Column70""TABLE.pricetable > * > TR > :nth-child(70)"}, {"Column71""TABLE.pricetable > * > TR > :nth-child(71)"}, {"Column72""TABLE.pricetable > * > TR > :nth-child(72)"}, {"Column73""TABLE.pricetable > * > TR > :nth-child(73)"}, {"Column74""TABLE.pricetable > * > TR > :nth-child(74)"}, {"Column75""TABLE.pricetable > * > TR > :nth-child(75)"}, {"Column76""TABLE.pricetable > * > TR > :nth-child(76)"}}, [RowSelector = "TABLE.pricetable > * > TR"]),
  #"Promoted Headers" = Table.PromoteHeaders(#"Extracted Table From Html", [PromoteAllScalars = true]),
  
Table  USD_Rates
let
  DateFrom = Text.End("0"&Text.From(Date.Day(DateTime.LocalNow())),2)&"%2F"&Text.End("0"&Text.From(Date.Month(DateTime.LocalNow())),2)&"%2F"&Text.From(Date.Year(DateTime.LocalNow())-2),
  DateTo = Text.End("0"&Text.From(Date.Day(DateTime.LocalNow())),2)&"%2F"&Text.End("0"&Text.From(Date.Month(DateTime.LocalNow())),2)&"%2F"&Text.From(Date.Year(DateTime.LocalNow())),
  Source = Web.Contents("https://www.mnb.hu/en/arfolyam-tablazat/",[RelativePath="?deviza=rbCurrencySelect&devizaSelected=USD&datefrom="&DateFrom&"&datetill="&DateTo&"&order=1"]),
    #"Extracted Table From Html" = Html.Table(Source, {{"Column1""TABLE.pricetable > * > TR > :nth-child(1)"}, {"Column2""TABLE.pricetable > * > TR > :nth-child(2)"}}, [RowSelector = "TABLE.pricetable > * > TR"]),
  #"Promoted Headers" = Table.PromoteHeaders(#"Extracted Table From Html", [PromoteAllScalars = true]),
  #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers", {{""type date}, {"USD"type text}}),
  #"Removed Top Rows" = Table.Skip(#"Changed Type", 2),
  #"Renamed Columns" = Table.RenameColumns(#"Removed Top Rows", {{"""Date"}}),
  #"Changed Type1" = Table.TransformColumnTypes(#"Renamed Columns", {{"USD"type number}})
in
  #"Changed Type1"
When i disable the load of USD_Rates table in the dataflow . Refresh was successful. Can anybody please tell me why is this happening? and Both CurrencyER_2Y and USD_Rates table are needed to be refreshed everyday. So if i will disable the load of USD_Rates table then will it get refresh internally with every successful refreshing of the data flow. 
 
Thanks in advance .
 
Note  -  I am using an on premise gateway to get the data of the first two tables. 
 
Here is the gateway settings. - 


1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Amar-Agnihotri ,

     

    This problem seems to be caused by inappropriate licenses.

    Dataflows are supported for Power BI Pro, Premium Per User (PPU), and Power BI Premium users. Some features are only available with a Power BI Premium subscription or Premium Per User (PPU) license. 

    Such as:

    • Enhanced compute engine
    • Direct Query
    • Computed entities
    • Linked Entities
    • Incremental refresh

    For more details, you can refer to:Premium features of dataflows 

     

    Hope it helps,


    Community Support Team _ Caitlyn

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.