The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all,
I am developing a dashboard that gets online data from the WHO Global Influenza Surveillance program through a link they make available in their website. There are two databases, one called FluNet and another one called FluID - with different data between them.
When I load the FluNet database I have no issues, however, when adding a FluID source from web Power BI does not download the data or, when download, does not find some columns (before doing any modification in the database).
The website of WHO where they make available the databases is Global Influenza Programme (who.int) and the direct link for the database I'm having issues is https://frontdoor-l4uikgap6gz3m.azurefd.net/FLUMART/VIW_FID_EPI?$format=csv
The error message from PBI is this one:
Sometimes when I try to add again the database or refresh it shows a message that the database is empty.
Does anyone could help me solving this issue to have the database correctly loaded?
I wrote to WHO but so far nobody answered me.
Thank you!
Bruno
Hi @brpvt ,
Please try:
let
Source = Csv.Document(Web.Contents("https://frontdoor-l4uikgap6gz3m.azurefd.net/FLUMART/VIW_FNT?$format=csv"),[Delimiter=",", Encoding=65001, QuoteStyle=QuoteStyle.Csv]),
#"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"WHOREGION", type text}, {"FLUSEASON", type text}, {"HEMISPHERE", type text}, {"ITZ", type text}, {"COUNTRY_CODE", type text}, {"COUNTRY_AREA_TERRITORY", type text}, {"ISO_WEEKSTARTDATE", type date}, {"ISO_YEAR", Int64.Type}, {"ISO_WEEK", Int64.Type}, {"MMWR_WEEKSTARTDATE", type date}, {"MMWR_YEAR", Int64.Type}, {"MMWR_WEEK", Int64.Type}, {"ORIGIN_SOURCE", type text}, {"SPEC_PROCESSED_NB", Int64.Type}, {"SPEC_RECEIVED_NB", Int64.Type}, {"AH1N12009", Int64.Type}, {"AH1", Int64.Type}, {"AH3", Int64.Type}, {"AH5", Int64.Type}, {"AH7N9", Int64.Type}, {"ANOTSUBTYPED", Int64.Type}, {"ANOTSUBTYPABLE", Int64.Type}, {"AOTHER_SUBTYPE", Int64.Type}, {"AOTHER_SUBTYPE_DETAILS", type text}, {"INF_A", Int64.Type}, {"BVIC_2DEL", Int64.Type}, {"BVIC_3DEL", Int64.Type}, {"BVIC_NODEL", Int64.Type}, {"BVIC_DELUNK", Int64.Type}, {"BYAM", Int64.Type}, {"BNOTDETERMINED", Int64.Type}, {"INF_B", Int64.Type}, {"INF_ALL", Int64.Type}, {"INF_NEGATIVE", Int64.Type}, {"ILI_ACTIVITY", Int64.Type}, {"ADENO", Int64.Type}, {"BOCA", Int64.Type}, {"HUMAN_CORONA", Int64.Type}, {"METAPNEUMO", Int64.Type}, {"PARAINFLUENZA", Int64.Type}, {"RHINO", Int64.Type}, {"RSV", Int64.Type}, {"OTHERRESPVIRUS", Int64.Type}, {"OTHER_RESPVIRUS_DETAILS", type text}, {"LAB_RESULT_COMMENT", type text}, {"WCR_COMMENT", type text}, {"ISO2", type text}, {"ISOYW", Int64.Type}, {"MMWRYW", Int64.Type}})
in
#"Changed Type"
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Dear Gao,
Thank you for your proposal. I saw you suggested to used a different URL but this one refers to the FluNet database - they are different and contain different data. I am also using these database in the same report which contains Influenza data by subtype of virus.
My issue is with the FluID database, that contains data related to "ILI", "ARI", etc.. and is broader than influenza detection.
Thank you
Bruno
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
34 | |
19 | |
18 | |
16 | |
13 |