Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello all,
I have among others one table "Activities" with activities in different territories (see in attached screenshot).
Example is that territoy TerrA got 3 activities in January 21 over 2 days:
Target: Get a stacked bar chart for activities per field day for each channel
thank you for your help!
Solved! Go to Solution.
this should work if there are no other considerations
Proud to be a Super User!
I found the reason.
I have a calculated column to sort the "channels" column using relationship to another channel sorting table.
after adding REMOVEFILTERS also to this "channel_sort" column it worked.
Tricky...
Thank you any way!!
Hi @vanessafvg ,
thanks for the reply!
I had also the activities and days already, but struggeling for the combination with channels.
Sorry for inaccurate explanation. I try to give more infos.
Activities per day and channel is what I need.
For F2F it would be this calculation for the given example (January 21, TerrA):
For email it would be this calculation for the given example:
The target is this one - this is what I need:
this should work if there are no other considerations
Proud to be a Super User!
Thank you.
the attached PBIX looks good and it seems to work well.
After creating the measure in my modell using copy-paste strangely it didn't work.
it must be the part:
var NoofDays = CALCULATE(DISTINCTCOUNT(Activities[date ]),REMOVEFILTERS(Activities[channel]))
-> when I test this in separate measure it returns me for each channel the filtered (by channel) value like here:
| Channel | Noofday |
| F2F | 1 |
| 1 | |
| Total | 2 |
I would expect this:
| Channel | Noofday |
| F2F | 2 |
| 2 | |
| Total | 2 |
What could be the reason?
it would be hard to tell without looking at your pbix, are you able to share it?
Proud to be a Super User!
Hi @vanessafvg ,
thanks for quick reply.
Sorry for the screenshot. Is it sufficient to copy+paste here the Excel data?
Please tell in case an upload is needed (and where to upload best):
| Activities | ||||
| date | territory | product | account | channel |
| 1.1.21 | TerrA | ProdA | AccA | F2F |
| 1.14.21 | TerrA | ProdB | AccB | |
| 1.14.21 | TerrA | ProdB | AccB | F2F |
| 1.26.21 | TerrB | ProdA | AccA | F2F |
| 2.2.21 | TerrA | ProdA | AccA | F2F |
| 2.3.21 | TerrA | ProdB | AccB | |
| Example: | ||||
| Territory | TerrA | |||
| Year Month | 2021 Jan | |||
| Field Days: | 2 | |||
| Activities: | 3 | |||
| Activities per Field Day | ||||
| F2F | ||||
| 1 | 0,5 | |||
see attached but its incomplete and not sure what other requirements it needs.
What is the definition of the values per day under email 0,5?
see file attached to start.
Proud to be a Super User!
please provide data in text format.
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 92 | |
| 69 | |
| 50 | |
| 40 | |
| 38 |