Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Sun1
Frequent Visitor

Tables of data

Hi All,

 

Slightly difficult to word this but here goes...

 

I have tables of data going as far back as 1999/2000. Each table differs in that some of the data items are not consistent through the years, i.e. the data items get added or removed. The organisation code data remains consistent and is seen as the identifier and as the key to build relationships in BI. What I want is to emulate the website below, where the user can select reports to download based on what they chosen from the drop down filters. i.e Year, Level and Section. (For now I'm trying to achieve All Trust and All Site.)

 

Is this possible with the current functionality of BI?

 

http://hefs.hscic.gov.uk/ReportFilter.asp

 

Advice would be appreciated, feel free to ask questions.

 

Sun1

1 ACCEPTED SOLUTION

Hi @Sun1

Based on your description, you want to filter all the fields(column hearder in Trust Level  table). We are unable to achieve it, because the slicer is used to filter the row records in the table rather than columns. Thanks for understanding.

 

Best Regards,
Angelia

View solution in original post

7 REPLIES 7
v-huizhn-msft
Employee
Employee

Hi @Sun1,

You can create the report in Power BI desktop using any native visualization or custom visual. For the drop down filters,  i.e. Year, Level and Section in the web, you'd better create three slicers in the report. One year slicer, one Level slicer and another slicer including Section filter. More details about slicer, please review this article. Just like the report in the article, it will return different report when you select the different values in slicer, which is similar in the website report.

If this is what you want, please post the sample data and expected result for further analysis.


Best Regards,
Angelia

Greg_Deckler
Super User
Super User

Can you provide some sample data from a couple different years, the solution is going to depend on your data and I like to try to replicate this to find the solution. Text data please, screen shots make me type.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Smoupre

 

Below are 4 tables thats have been editied, 2 tables are at Trust Level and 2 are at Site Level (NB. Each Trust has a number of sites). As a user I should be able to select the year and then the level, Trust or Site to display a full table showing all data items. The concept is straight forward but unsure how to work it out.

 

Like the link below.

 

http://hefs.hscic.gov.uk/ReportFilter.asp

 

Thanks once again.

 

1999/2000 Site Level data

 

Organisation CodeOrganisation NameCommissioning RegionOrganisation TypeYearAvailable Beds (No.)Site footprint (m²)Occupied Floor Area (m²)Unoccupied Floor Area (m²)Leased In Floor Area (m²)Leased Out Floor Area (m²)Site Land Area (Hectare)
RA4EAST SOMERSET NHS TRUSTDorset & SomersetSMALL ACUTE OUTSIDE LONDON1999/200040619,59437,2902668401096.1990
RAXKINGSTON HOSPITAL NHS TRUSTSouth West LondonMEDIUM ACUTE LONDON1999/200056220,75358,33101,07406.5400
RCFAIREDALE NHS TRUSTWest YorkshireMEDIUM MULTI-SERVICE1999/200060351,98576,5570278027.0370

 

2003/2004 Site Level data

 

Organisation CodeOrganisation NameCommissioning RegionOrganisation TypeYearPercentage of single bedrooms for patients (%)Number of Nightingale wards in use - Acute (No.)Number of Nightingale wards in use - Elderly (No.)
5A1NEW FOREST PCTHampshire & Isle of WightPCT2003/20040.34%00
5A2NORWICH PCTNorfolk, Suffolk and CambridgeshirePCT2003/20040.66%00
5A3SOUTH GLOUCESTERSHIRE PCTAvon, Gloucestershire & WiltshirePCT2003/20040.00%00

 

1999/2000 Trust Level data

 

Organisation CodeOrganisation NameCommissioning RegionOrganisation TypeYearEstates Service Costs (£)Total number of staff employed (WTE)Telecommunication service cost (£)Average Response Time (Sec's)RIDDOR incidents (No.)Non-RIDDOR incidents (No.)Sterile Services cost (£)
R01ASHWORTH HOSPITAL AUTHORITYCheshire and MerseysideSPECIALIST1999/20001,065,0231,612193,131446319 
R02BROADMOOR HOSPITAL AUTHORITYNorth West LondonSPECIALIST1999/20001,573,8171,066114,7743651303 
R03RAMPTON HOSPITAL AUTHORITYTrentSPECIALIST1999/2000157,0501,242136,167500 

 

2003/2004 Trust Level data

 

Organisation CodeOrganisation NameCommissioning RegionOrganisation TypeOccupied beds (No.)Available beds (No.)Total number of wards (No.)YearNumber of sites - General Acute Hospital (No.)Number of sites - Multi-service Hospital (No.)Number of sites - Short Term Non-Acute Hospital (No.)Number of sites - Long Stay Hospital (No.)
5A1NEW FOREST PCTHampshire & Isle of WightPCT137140342003/20040140
5A2NORWICH PCTNorfolk, Suffolk and CambridgeshirePCT275320352003/20040021
5A3SOUTH GLOUCESTERSHIRE PCTAvon, Gloucestershire & WiltshirePCT   2003/20040000

Hi @Sun1,

 

For Trust Level, create a slicer, which field should added? By another way, like the choose in the web, what value should be as the options? Please describe clearly. Thanks a lot.

 

Best Regards,
Angelia

Hi Angelia,

 

The Year and Level would be slicers that a user would select. If I was to select 2003/2004 and then select Trust Level I would like the table to appear with all fields. The website shows another dropdown, 'Section', but in my case I only want to change between Trust Level data and Site Level data. In terms of how to do this and to see if it's possible, I'm unsure.

 

I hope that explains it. Sorry I can't explain it further.

 

Sun1

Hi @Sun1

Based on your description, you want to filter all the fields(column hearder in Trust Level  table). We are unable to achieve it, because the slicer is used to filter the row records in the table rather than columns. Thanks for understanding.

 

Best Regards,
Angelia

Cheers for that Angelia, I was wondering whether it was possible or not. I may try think of some alternatives. But thanks again for your advice.

 

Sun1

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.