Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I need help in creating a matrix table in power BI that looks like the one below. Here is the link to .pbix file Test_Repeat.pbix
Universe= all unique outlet
repeat outlet = repeat orders by outlets within each channel
Repeat % = Repeat outlet/universe
Thanks.
Solved! Go to Solution.
Hi @AmeenVanakar Try below measures:
Universe =
SUMX(
VALUES('Sheet1'[Channel]),
CALCULATE(DISTINCTCOUNT('Sheet1'[Outlet]))
)
RepeatOutlet =
SUMX(
VALUES('Sheet1'[Channel]),
CALCULATE(
DISTINCTCOUNT('Sheet1'[Outlet]),
FILTER(
VALUES('Sheet1'[Outlet]),
CALCULATE(COUNTROWS('Sheet1')) > 1
)
)
)
RepeatPercentage = DIVIDE([RepeatOutlet], [Universe], 0)
Output:
Check out the file attached here.
Hope this helps!!
If this solved your problem, please accept it as a solution and a kudos!!
Best Regards,
Shahariar Hafiz
Hi @AmeenVanakar Try below measures:
Universe =
SUMX(
VALUES('Sheet1'[Channel]),
CALCULATE(DISTINCTCOUNT('Sheet1'[Outlet]))
)
RepeatOutlet =
SUMX(
VALUES('Sheet1'[Channel]),
CALCULATE(
DISTINCTCOUNT('Sheet1'[Outlet]),
FILTER(
VALUES('Sheet1'[Outlet]),
CALCULATE(COUNTROWS('Sheet1')) > 1
)
)
)
RepeatPercentage = DIVIDE([RepeatOutlet], [Universe], 0)
Output:
Check out the file attached here.
Hope this helps!!
If this solved your problem, please accept it as a solution and a kudos!!
Best Regards,
Shahariar Hafiz
@AmeenVanakar Please find the attached file
Proud to be a Super User! |
|