Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Despite of the title, this is not about pretty ladies/gentlemen and fancy stock options and your chances for those... 😉
but...
I would need to generate a simple table, which shows that with options are how likely chosen to different models. You can think about your favorite car brand's models as models and common options like AC, tinted windows or sunroof as options. Even the option is "the same" , it's still different HW per model. So the question might be "how likely the sunroof is chosen to model B"
My source is a basic sales lines table, with has the info per order, which model is sold with which options. They are linked together with same ordernumber (table in image on right). I also have an option table (bottom left in the image), where I have item number for the option per model (as mentioned before same "sunroof" has item code ABC for Model A, but CBA for Model B. I, however, would like to have those "sunroofs" listed in one column , where each row is for different model (table in image on top left)
The common field for binding options and rows in sales lines table is ordernumber, but also filling down serial number is possible, if needed (grayed out in the table).
I can calculate the propability% (how like this option has been selected for this model) of each option per model separately by creating a measure like this:
Hi @vpsoini ,
Can you provide screenshots of the desired results and describe them so that I can do further testing? Looking forward to your reply.
Best Regards,
Henry
The outcome would be table like this:
which show the share (propability) of an option selected for different models. So the table would have columns "Model", "Option1", "Option2", "Option3"... etc and in different rowst there would be different models.
I would like to have one measure per option so, that when calculating each row, the measure would place both the model and corresponding option's item number into calculation and would calculate that percentage.
I have highlighted 2 cells from that sample table above and corresponding item numbers from item table below. In the desired solution, the red square would be calculated by measure called "option1" by using variables Model = M100 and corresponding option item number from option item table = 1234 in the calculation:
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
85 | |
85 | |
70 | |
68 | |
63 |
User | Count |
---|---|
214 | |
124 | |
117 | |
82 | |
76 |