The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have three different tables with requests coming into our business. I need to be able to visually show on graph the number of requests depending on the day of the week. Each table has a column for day of the week (Mon, Tues, Wed, etc.) but I don't know how to tie/count all three together so the graph just shows as total count.
Solved! Go to Solution.
Hello @jcastr02
You can create a table in your model with the following code
Days = DATATABLE ( "Day of week", STRING, "Order", INTEGER, { { "Sun", 1 }, { "Mon", 2 }, { "Tue", 3 }, { "Wed", 4 }, { "Thu", 5 }, { "Fri", 6 }, { "Sat", 7 } } )
Then join each of your data tables to this Days table. Then you pull the [Day of week] from this days table into your visual and that will let you count, by day, the number of lines in each of your 3 data tables.
I have attached my sample file for you to look at.
Hello @jcastr02
You can create a table in your model with the following code
Days = DATATABLE ( "Day of week", STRING, "Order", INTEGER, { { "Sun", 1 }, { "Mon", 2 }, { "Tue", 3 }, { "Wed", 4 }, { "Thu", 5 }, { "Fri", 6 }, { "Sat", 7 } } )
Then join each of your data tables to this Days table. Then you pull the [Day of week] from this days table into your visual and that will let you count, by day, the number of lines in each of your 3 data tables.
I have attached my sample file for you to look at.
User | Count |
---|---|
64 | |
55 | |
53 | |
50 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
45 |