March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
DATA MODEL:
This is what my data model looks like:
Date to date, country to country etc.
All Many (Fact Table) to one, all in single cross-filter direction.
MATRIX VISUAL
I'm trying to calculate the no of distinct companies for each country and application status. I'm using Application Status and Country from the respective tables, and count distinct no of companies. However, one country is missed out.
I've previously tried to use only the fact table for the Application Status and Country, but I get the same results.
If I deselect 'Application Status', I will have both countries and their values. But I also need to create a 'total' column to show the total of each country. This will then affect the cell formating, as I actually don't want the background of Totals to be formatted.
Any way around this? Thank you !
Solved! Go to Solution.
LOL I forgot to try this and it worked:
CountofCompanies =DISTINCTCOUNT(Fact Table[Company])+0
Bruh.
LOL I forgot to try this and it worked:
CountofCompanies =DISTINCTCOUNT(Fact Table[Company])+0
Bruh.
Is the issue just that you want both countries to show? If so, right-click on the Country dimension and select "Show items with no data"
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |