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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
askildu
New Member

Automatic Visuals by use of Configuration Table

Hello!

 

I have an intereseting problem. I have data in one group of queries (DFU1, DFU2, DFU3, etc.), normalization data in another group (NormHours, NormFlights, NormPlatforms, etc.), and one single query to describe how the visuals should be configured (Graphics). From the raw data I need to present (not together, but dependent on what the visual configuration query says) the row count, sum of column "Weight", and sum of column "Weight" divided by normalization data (e.g., no. of working hours that year). The data used to be presented in Excel, and the Graphics query contains columns such as "PlotTitle", "NormDataSource", "NormAdjustFactor", "FilterDFU_Column", "FilterColumn1", "FilterColumn2" which contains all necessary info to make visuals in PowerBI.

 

My challenge is to make a slicer to choose which row to use in Graphics (each row contains a different visual configuration) and automatically make visuals ( I have a PerspectiveID column to be able to differentiate between the rows). All of the rows are made in the same way, just with different values (e.g., filter on DFU is DFU = 1 for ID1 and DFU = [7, 8, 9] for ID2). Excerpt from the Graphics query below, where the first two are values to include (=filter) and the third column is a factor to multiply the row count by (e.g., to get incidents per million working hours, instead of per working hour).

 

askildu_0-1728470546658.png

 

1 ACCEPTED SOLUTION

It's a nice finger exercise.  (You should read about yacc and lex).  But yes, this will definitely take more than 20-30 hours. Much more.

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

So you are thinking about creating your own meta language ? What's the business need?  Have your users asked for that?  

Not directly, no. I'm converting the data from Excel into PowerQuery/PowerBI and if it was relatively readily available, it would be nice to have these calculated automatically. I have about 30 rows in my Graphics query (most likely not to increase though), so although changes to these are not very likely, I'm slightly concerned that people assume changes will be made in dashboard if changes are made in this Excel table.

 

That being said, this is definitely not a must, so if this requires more than 20-30 hours, then it is not worth it

It's a nice finger exercise.  (You should read about yacc and lex).  But yes, this will definitely take more than 20-30 hours. Much more.

Then I'll definitely leave it for another time. Thanks for your reply!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.